<html><head><meta charset="UTF-8" /><script>var $gwt_version = "2.5.0";var $wnd = parent;var $doc = $wnd.document;var $moduleName, $moduleBase;var $strongName = '9347E46F84EA436EF22DCE900B9102C6';var $stats = $wnd.__gwtStatsEvent ? function(a) {return $wnd.__gwtStatsEvent(a);} : null,$sessionId = $wnd.__gwtStatsSessionId ? $wnd.__gwtStatsSessionId : null;$stats && $stats({moduleName:'jsme',sessionId:$sessionId,subSystem:'startup',evtGroup:'moduleStartup',millis:(new Date()).getTime(),type:'moduleEvalStart'});</script></head><body><script><!--
var j="",aa="\n",ca=" ",da='"',ea='" ',fa='" height="',ga='" stroke="',ha='" x2="',ja='" y1="',ka='" y2="',la='" y="',ma='">',na="#",oa="$MOL\n",pa="&",ra="&amp;",sa="&gt;",ta="&lt;",ua="&nbsp;",va="'",wa="(",ya=")",za="*",Aa="+",Ba=",",Ca=", ",Da="-",Ea="-C#C-Me",Fa="-C#CH",Ga="-C#N",Ha="-C(=O)N",Ja="-C(=O)OH",La="-C(=O)OMe",Ma="-CCl3",Na="-CF3",Oa="-CMe3",Pa="-NC=O",Qa="-NH-SO2-Me",Ra="-NMe2",Ta="-NO2",Ua="-OC(=O)Me",Va="-SO2-NH2",Wa="-SO3H",Xa="-selected",Ya=".",Za="/",$a="//",bb="/>",cb="0",db=
"0px",fb="1",gb="100%",hb="1em",ib="1ex",jb="1in",kb="2",mb="3",nb=":",ob=": ",pb=";",qb="<",rb='<line x1="',sb="=",tb=">",ub="?",vb="@",xb="A",Bb="After",Cb="Any",Db="Aromatic",Eb="B",Gb="Before",Hb="Br",Ib="C",Jb="CENTER",Kb="CSS1Compat",Lb="Center",Mb="Cl",Nb="Class$",Ob="Copy as ",Pb="Dialog",Qb="END",Rb="East",Sb="F",Tb="First",Vb='For input string: "',Wb="GBVTBU-BB",Xb="H",Yb="Helvetica",Zb="I",$b="Incorrect URL: ",ac="Internal index set to null.",bc="JUSTIFY",cc="JavaScript",dc="LEFT",ec="MOL n. ",
gc="N",kc="NA",lc="NONE",mc="No more molecules in mol stack",nc="Nonring",oc="North",pc="Null widget handle. If you are creating a composite, ensure that initWidget() has been called.",qc="O",rc="ONE_WAY_CORNER",sc="P",tc="R",uc="R1",vc="R2",wc="R3",zc="RIGHT",Ac="ROLL_DOWN",Bc="Reset",Fc="Resize-",Gc="Ring",Hc="S",Ic="SMILES",Jc="Se",Kc="Si",Lc="South",Mc="Style names cannot be empty",Nc="TBODY",Uc="TR",Vc="West",Wc="X",Xc="[",Yc="\\",Zc="]",$c="__uiObjectID",ad="a",bd="absolute",cd="alert",dd="alertdialog",
ed="align",fd="antialias",gd="application",hd="article",id="auto",jd="backgroundColor",nd="banner",pd="blur",qd="bolder",rd="border",sd="bottom",td="button",ud="cellPadding",vd="cellSpacing",wd="center",xd="change",yd="checkbox",zd="className",Ad="click",Bd="click marked atom to delete mark",Cd="clip",Gd="col",Hd="colSpan",Nd="columnheader",Od="combobox",Pd="complementary",Qd="contentinfo",Rd="contextmenu",Sd="cssFloat",Td="dblclick",Ud="definition",Vd="dialog",Wd="dir",Xd="directory",Yd="display",
Zd="div",$d="document",ae="dragdrop-handle",be="dragdrop-selected",ce="filter",de="float",ee="focus",fe="fontFamily",ge="fontSize",he="fontStyle",ie="fontWeight",je="form",ke="function",le="g",me="gesturechange",ne="gestureend",oe="gesturestart",qe="google",re="grid",se="gridcell",te="group",ue="gwt-MenuBar",ve="gwt-MenuBarPopup",Ce="heading",De="height",Ee="hidden",Fe="img",Ge="italic",He="java.vm.name",Ie="keydown",Je="keypress",Ke="keyup",Le="left",Me="link",Ne="list",Oe="listbox",Pe="listitem",
Qe="load",Re="log",Se="ltr",Te="main",Ue="marquee",Ve="math",Xe="menu",Ye="menuPopup",Ze="menubar",$e="menuitem",af="menuitemcheckbox",bf="menuitemradio",cf="middle",jf="mousedown",kf="mousemove",lf="mouseout",mf="mouseover",nf="mouseup",of="mousewheel",pf="msie",qf="multipart",rf="n",sf="navigation",tf="none",uf="noreaction",vf="note",wf="nowrap",xf="null",yf="number",zf="offsetHeight",Af="offsetWidth",Bf="opera",Cf="option",Df="overflow",Ef="popupContent",Ff="position",Gf="presentation",Hf="progressbar",
If="pt",Jf="px",Kf="px, ",Mf="px;",Nf="radio",Of="radiogroup",Pf="reaction",Qf="rect(0px, 0px, 0px, 0px)",Rf="region",Sf="rgb(",Tf="right",Uf="row",Vf="rowgroup",Wf="rowheader",Xf="rtl",Yf="s",Zf="scrollbar",$f="se",bg="search",cg="separator",dg="serif",eg="slider",fg="span",gg="spinbutton",hg="status",ig="subMenuIcon-selected",jg="tab",kg="table",lg="tablist",mg="tabpanel",ng="tbody",og="td",pg="text",qg="textbox",rg="timer",sg="toolbar",tg="tooltip",ug="top",vg="touchcancel",wg="touchend",xg="touchmove",
yg="touchstart",zg="tr",Ag="tree",Bg="treegrid",Cg="treeitem",Dg="true",Eg="value",Fg="verticalAlign",Gg="visibility",Hg="visible",Ig="whiteSpace",Jg="width",Kg="x",Lg="zIndex",Mg="|",_,Ng={l:0,m:0,h:0},Og={l:1,m:0,h:0},Pg={l:2,m:0,h:0},Qg={l:3,m:0,h:0},Rg={l:4,m:0,h:0},Sg={},Tg={80:1,106:1,109:1,111:1},Ug={87:1,92:1,103:1,106:1},Vg={11:1,12:1,13:1,14:1,15:1,16:1,17:1,18:1,19:1,20:1,21:1,22:1,23:1,24:1,25:1,26:1,27:1,28:1,29:1,30:1,31:1,32:1,33:1,34:1,35:1,36:1,37:1,38:1,39:1,40:1,41:1,42:1,43:1,
45:1,47:1,56:1,62:1,63:1,64:1,65:1,68:1,71:1,75:1,76:1,77:1,78:1,79:1,81:1},Wg={11:1,12:1,13:1,14:1,15:1,16:1,17:1,18:1,19:1,20:1,21:1,22:1,23:1,24:1,25:1,26:1,27:1,28:1,29:1,30:1,31:1,32:1,33:1,34:1,35:1,36:1,37:1,38:1,39:1,40:1,41:1,42:1,43:1,45:1,47:1,56:1,63:1,65:1,68:1,69:1,71:1,75:1,76:1,77:1,78:1,79:1,81:1},Xg={121:1},Yg={106:1,108:1,122:1},Zg={106:1,112:1,117:1,119:1},$g={11:1,18:1,19:1,20:1,21:1,22:1,23:1,24:1,25:1,26:1,45:1,47:1,56:1,68:1,69:1,71:1,79:1,81:1},ah={106:1,112:1,113:1,117:1,
119:1},bh={52:1,106:1},ch={45:1,47:1,56:1,61:1,68:1,69:1,71:1,79:1,81:1},dh={87:1,88:1,92:1,103:1,106:1},eh={6:1,8:1,106:1,109:1,111:1},fh={83:1,106:1,112:1,117:1,119:1},nh={45:1,47:1,56:1,68:1,69:1,71:1,74:1,79:1,81:1,129:1,136:1},oh={106:1,121:1},ph={125:1},qh={8:1,9:1,106:1,109:1,111:1},rh={44:1},sh={45:1,47:1,56:1,60:1,68:1,70:1,71:1,79:1,81:1},th={106:1,108:1,121:1},uh={11:1,12:1,13:1,14:1,15:1,16:1,17:1,18:1,19:1,20:1,21:1,22:1,23:1,24:1,25:1,26:1,27:1,28:1,29:1,30:1,31:1,32:1,33:1,34:1,35:1,
36:1,37:1,38:1,39:1,40:1,41:1,42:1,43:1,45:1,47:1,56:1,62:1,63:1,64:1,65:1,67:1,68:1,71:1,75:1,76:1,77:1,78:1,79:1,81:1},k={106:1,108:1},vh={106:1,112:1,119:1},r={105:1,106:1,108:1},wh={46:1,82:1},xh={54:1},yh={87:1,88:1,92:1,96:1,103:1,106:1},zh={122:1},Ah={47:1},Bh={7:1,8:1,106:1,109:1,111:1},Ch={55:1},Dh={106:1},Eh={10:1,106:1,109:1,111:1},Fh={123:1},Gh={45:1,47:1,56:1,68:1,71:1,79:1,81:1},Hh={68:1,79:1},Ih={45:1,47:1,56:1,68:1,69:1,71:1,79:1,81:1},Jh={107:1},Kh={92:1,106:1};
function s(a,b,c){var d=Sg[a];d&&!d.cZ?_=d.prototype:(!d&&(d=Sg[a]=function(){}),_=d.prototype=0>b?{}:new Sg[b],_.cM=c);for(var e=3;e<arguments.length;++e)arguments[e].prototype=_;d.cZ&&(_.cZ=d.cZ,d.cZ=null)}function u(){}s(1,-1,{});_.eQ=function(a){return this===a};_.gC=function(){return this.cZ};_.hC=function(){return Lh(this)};
_.tS=function(){var a=this.cZ.e+vb,b;b=this.hC();var c,d,e;c=v(Mh,k,-1,8,1);d=(Nh(),Oh);e=7;if(0<=b)for(;15<b;)c[e--]=d[b&15],b>>=4;else for(;0<e;)c[e--]=d[b&15],b>>=4;c[e]=d[b&15];b=c.slice(e,8);b=String.fromCharCode.apply(null,b);return a+b};_.toString=function(){return this.tS()};_.tM=u;function Ph(){Ph=u;Qh=new Rh}function Sh(a){for(var b,a=new Th(a.k.n);a.c<a.e.ie();)b=Uh(a),Vh(b.Sc(),be,!1),Wh(a)}
function Xh(a,b,c){var a=a.o,d;try{d=new Yh(b,c.wc(a),c.zc(a),(c.xc(a),c.yc(a))),x(a.d,c,d)}catch(e){e=Zh(e);if(y(e,112))throw new $h("dragHandle must implement HasMouseDownHandlers, HasMouseUpHandlers, HasMouseMoveHandlers and HasMouseOutHandlers to be draggable",e);throw e;}Vh(b.Sc(),Wb,!0);Vh(c.Sc(),ae,!0);x(Qh,b,c)}function ai(a,b){var c;c=bi(Qh,b);var d;d=bi(a.o.d,c);if(!d)throw new ci("dragHandle was not draggable");di(d.c.b);di(d.e.b);di(d.d.b);Vh(b.Sc(),Wb,!1);Vh(c.Sc(),ae,!1)}
function ei(a){var b;a.p=!1;for(a=new Th(a.k.n);a.c<a.e.ie();)b=Uh(a),Vh(b.Sc(),be,!1),Wh(a)}function fi(a,b){gi(a.k.n,b)?Vh(b.Sc(),be,!1):a.p?(hi(a.k.n,b),Vh(b.Sc(),be,!0)):(ii(a.k.n),hi(a.k.n,b))}function ji(a){this.i=a;this.k=new ki(this);this.o=new li(this.k)}s(3,1,{});_.bc=function(){mi(this.k.f,"dragdrop-dragging")};_.cc=function(){ni(this.k.f,"dragdrop-dragging")};_.i=null;_.j=!1;_.k=null;_.n=0;_.o=null;_.p=!1;var Qh;function ki(a){this.n=new oi;this.e=a;this.b=a.i}s(4,1,{},ki);_.b=null;
_.c=0;_.d=0;_.e=null;_.f=null;_.i=null;_.j=0;_.k=0;function pi(a,b,c){a.c.j=b;a.c.k=c;a.c.c=b-a.i;a.c.d=c-a.j;a.c.e.dc()}function qi(a,b){var c;c=ri(a.d,si).b;b.b.ctrlKey||b.b.metaKey||Sh(a.c.e);fi(a.c.e,c)}function ti(a){a.c.i=null;a.c.e.cc();ui((vi(),wi(null)),a.b,0,0);var b=a.b.pb;xi=b;yi();zi=b;a.e=2}
function li(a){this.d=new Rh;this.c=a;this.b=new Ai;Bi(this.b,Ci(),Di());A(this.b,this,(Ei(),Ei(),Fi));A(this.b,this,(Gi(),Gi(),Hi));a=this.b.pb.style;a[ce]="alpha(opacity=0)";a.opacity=0;a.margin=0+(Ii(),Jf);a.borderStyle=(Ji(),tf);a[jd]="blue"}s(5,1,{},li);
_.ec=function(a){var b,c,d,e;c=a.i;d=Ki(a);e=Li(a);b=Mi(a.b);if(!(3==this.e||2==this.e||1!=b)&&!si)si=c,this.c.f=ri(this.d,si).b,!a.b.ctrlKey&&!a.b.metaKey&&-1==Ni(this.c.n,this.c.f)&&(Sh(this.c.e),fi(this.c.e,this.c.f)),Oi(new Pi),this.f=!0,a.b.preventDefault(),this.i=d,this.j=e,b=new Qi(si,null),si!=this.c.f&&(c=new Qi(this.c.f,null),this.i+=b.b-c.b,this.j+=b.e-c.e),0==this.c.e.n&&!a.b.ctrlKey&&!a.b.metaKey&&(this.c.j=d+b.b,this.c.k=e+b.e,ti(this),1!=this.e&&pi(this,this.c.j,this.c.k))};
_.fc=function(a){var b,c,d;c=a.i;b=c.pb;d=Ri(a,b);a=Si(a,b);if(3==this.e||2==this.e){if(c!=this.b)return;this.e=3}else if(this.f&&(Ti(Ui(d-this.i),Ui(a-this.j))>=this.c.e.n?(Vi(),-1!=Ni(this.c.n,this.c.f)||fi(this.c.e,this.c.f),c=new Qi(si,null),this.c.j=this.i+c.b,this.c.k=this.j+c.e,d+=c.b,a+=c.e,ti(this)):Wi.preventDefault()),1==this.e)return;Wi.preventDefault();pi(this,d,a)};
_.gc=function(a){var b,c,d,e;d=a.i;b=d.pb;e=Ri(a,b);b=Si(a,b);if(1==Mi(a.b)&&(this.f=!1,si))try{if(Vi(),1==this.e)qi(this,a);else{d!=this.b&&(c=new Qi(d,null),e+=c.b,b+=c.e);try{pi(this,e,b),this.c.e.bc(),3!=this.e&&qi(this,a)}finally{var f=this.b.pb;xi&&f==xi&&(xi=null);yi();f===zi&&(zi=null);Xi(this.b);this.e=1;this.c.f=null}}}finally{si=null}};_.b=null;_.c=null;_.e=1;_.f=!1;_.i=0;_.j=0;var si=null;function Pi(){}s(6,1,Ch,Pi);_.hc=function(){Vi()};
function Yh(a,b,c,d){this.b=a;this.c=b;this.d=d;this.e=c}s(7,1,{},Yh);_.b=null;_.c=null;_.d=null;_.e=null;s(8,1,{});s(10,8,{});s(9,10,{});_.b=null;s(11,1,{});_.tS=function(){return wa+this.b+Ca+this.e+ya};function Qi(a,b){!a||a==(vi(),wi(null))?this.i=this.f=0:(this.f=a.Oc()-(a.pb.scrollLeft||0),this.i=a.Pc()-(a.pb.scrollTop||0));!b||b==(vi(),wi(null))?this.d=this.c=0:(this.c=Yi(b.pb)+Zi(b.pb),this.d=$i(b.pb)+aj(b.pb));this.b=this.f-this.c;this.e=this.i-this.d}s(14,11,{},Qi);
_.tS=function(){return wa+this.b+Ca+this.e+ya};_.b=0;_.c=0;_.d=0;_.e=0;_.f=0;_.i=0;function Vi(){try{$wnd.getSelection().removeAllRanges()}catch(a){throw Error("unselect exception:\n"+a);}}function Zi(a){try{var b=$doc.defaultView.getComputedStyle(a,null).getPropertyValue("border-left-width");return-1==b.indexOf(Jf)?0:parseInt(b.substr(0,b.length-2))}catch(c){throw Error("getBorderLeft exception:\n"+c);}}
function aj(a){try{var b=$doc.defaultView.getComputedStyle(a,null).getPropertyValue("border-top-width");return-1==b.indexOf(Jf)?0:parseInt(b.substr(0,b.length-2))}catch(c){throw Error("getBorderTop: "+c);}}function bj(a){try{return a.clientHeight}catch(b){throw Error("getClientHeight exception:\n"+b);}}function cj(a){try{return a.clientWidth}catch(b){throw Error("getClientWidth exception:\n"+b);}}
function dj(a){if(a.p){a.v=a.q;a.p=!1;a.q=!1;if(a.r){var b=a.r,c=b.c;gi(c.b,b);0==c.b.d&&rj(c.c);a.r=null}a.ic()}}function sj(a,b){var c=tj();dj(a);a.p=!0;a.q=!1;a.o=b;a.u=c;++a.s;uj(a.n,tj())}function vj(a,b){var c,d;c=a.s;d=b>=a.u+a.o;if(a.q&&!d)return d=(b-a.u)/a.o,a.lc((1+Math.cos(3.141592653589793+3.141592653589793*d))/2),a.p&&a.s==c;if(!a.q&&b>=a.u&&(a.q=!0,a.kc(),!(a.p&&a.s==c)))return!1;return d?(a.p=!1,a.q=!1,a.jc(),!1):!0}s(17,1,{});_.ic=function(){this.v&&this.jc()};
_.jc=function(){this.lc((1+Math.cos(6.283185307179586))/2)};_.kc=function(){this.lc((1+Math.cos(3.141592653589793))/2)};_.o=-1;_.p=!1;_.q=!1;_.r=null;_.s=-1;_.t=null;_.u=-1;_.v=!1;function uj(a,b){if(vj(a.b,b)){var c=a.b,d=a.b.t,e;e=new wj(d,a.b.n);hi(d.b,e);1==d.b.d&&xj(d.c,16);c.r=e}else a.b.r=null}function yj(a){this.b=a}s(18,1,{},yj);_.b=null;s(19,1,{});s(20,1,{2:1});function zj(){zj=u;Aj=new Bj}s(21,19,{});var Aj=null;function Bj(){this.b=new oi;this.c=new Cj(this)}s(22,21,{},Bj);
function Dj(){Dj=u;Ej=new oi;var a=new Fj;Gj();Hj(Ij?Ij:Ij=new Jj,a)}function rj(a){a.c?$wnd.clearInterval(a.d):$wnd.clearTimeout(a.d);gi(Ej,a)}function xj(a,b){if(0>b)throw new Kj("must be non-negative");a.c?$wnd.clearInterval(a.d):$wnd.clearTimeout(a.d);gi(Ej,a);a.c=!1;a.d=Lj(a,b);hi(Ej,a)}function Mj(a){return $wnd.setInterval(Nj(function(){a.mc()}),100)}function Lj(a,b){return $wnd.setTimeout(Nj(function(){a.mc()}),b)}s(24,1,{});_.mc=function(){this.c||gi(Ej,this);this.nc()};_.c=!1;_.d=0;var Ej;
function Cj(a){Dj();this.b=a}s(23,24,{},Cj);_.nc=function(){var a=this.b,b,c,d,e,f;b=v(Oj,k,3,a.b.d,0);b=Pj(a.b,b);c=new Qj;for(e=0,f=b.length;e<f;++e)d=b[e],gi(a.b,d),uj(d.b,c.b);0<a.b.d&&xj(a.c,Ti(5,16-(tj()-c.b)))};_.b=null;function wj(a,b){this.c=a;this.b=b}s(25,20,{2:1,3:1},wj);_.b=null;_.c=null;s(27,1,{});_.b=null;function Rj(){this.b=cd}s(26,27,{},Rj);function Sj(){this.b=dd}s(28,27,{},Sj);function Tj(){this.b=gd}s(29,27,{},Tj);s(31,1,{});_.b=null;function Uj(a){this.b=a}s(30,31,{},Uj);
function Vj(){this.b=hd}s(32,27,{},Vj);function Wj(){this.b=nd}s(33,27,{},Wj);function Xj(){this.b=td}s(34,27,{},Xj);function Yj(){this.b=yd}s(35,27,{},Yj);function Zj(){this.b=Nd}s(36,27,{},Zj);function $j(){this.b=Od}s(37,27,{},$j);function ak(){this.b=Pd}s(38,27,{},ak);function bk(){this.b=Qd}s(39,27,{},bk);function ck(){this.b=Ud}s(40,27,{},ck);function dk(){this.b=Vd}s(41,27,{},dk);function ek(){this.b=Xd}s(42,27,{},ek);function fk(){this.b=$d}s(43,27,{},fk);function gk(){this.b=je}
s(44,27,{},gk);function hk(){this.b=re}s(45,27,{},hk);function ik(){this.b=se}s(46,27,{},ik);function jk(){this.b=te}s(47,27,{},jk);function kk(){this.b=Ce}s(48,27,{},kk);function lk(a){this.b=a.id}s(49,1,{4:1,5:1},lk);_.b=null;function mk(){this.b=Fe}s(50,27,{},mk);function nk(){this.b=Me}s(51,27,{},nk);function ok(){this.b=Ne}s(52,27,{},ok);function pk(){this.b=Oe}s(53,27,{},pk);function qk(){this.b=Pe}s(54,27,{},qk);function rk(){this.b=Re}s(55,27,{},rk);function sk(){this.b=Te}s(56,27,{},sk);
function tk(){this.b=Ue}s(57,27,{},tk);function uk(){this.b=Ve}s(58,27,{},uk);function vk(){this.b=Xe}s(59,27,{},vk);function wk(){this.b=Ze}s(60,27,{},wk);function xk(){this.b=$e}s(61,27,{},xk);function yk(){this.b=af}s(62,27,{},yk);function zk(){this.b=bf}s(63,27,{},zk);function Ak(){this.b=sf}s(64,27,{},Ak);function Bk(){this.b=vf}s(65,27,{},Bk);function Ck(){this.b=Cf}s(66,27,{},Ck);function Dk(){this.b=Gf}s(67,27,{},Dk);s(68,31,{},function(a){this.b=a});function Ek(){this.b=Hf}s(69,27,{},Ek);
function Fk(){Fk=u;Gk=new Uj("aria-activedescendant")}var Gk;function Hk(){this.b=Nf}s(71,27,{},Hk);function Ik(){this.b=Of}s(72,27,{},Ik);function Jk(){this.b=Rf}s(73,27,{},Jk);
function Kk(){Kk=u;Lk=new Sj;Mk=new Rj;Nk=new Tj;Ok=new Vj;Pk=new Wj;Qk=new Xj;Rk=new Yj;Sk=new Zj;Tk=new $j;Uk=new ak;Vk=new bk;Wk=new ck;Xk=new dk;Yk=new ek;Zk=new fk;$k=new gk;al=new ik;bl=new hk;cl=new jk;dl=new kk;fl=new mk;gl=new nk;hl=new pk;il=new qk;jl=new ok;kl=new rk;ll=new sk;ml=new tk;nl=new uk;ol=new wk;pl=new yk;ql=new zk;rl=new xk;sl=new vk;tl=new Ak;ul=new Bk;vl=new Ck;wl=new Dk;xl=new Ek;yl=new Ik;zl=new Hk;Al=new Jk;Bl=new Cl;Dl=new El;Fl=new Gl;Hl=new Il;Jl=new Kl;Ll=new Ml;Nl=
new Ol;Pl=new Ql;Rl=new Sl;Tl=new Ul;Vl=new Wl;Xl=new Yl;Zl=new $l;am=new bm;cm=new dm;em=new fm;gm=new hm;im=new jm;km=new Am;B=new Rh;x(B,Rf,Al);x(B,cd,Mk);x(B,Vd,Xk);x(B,dd,Lk);x(B,gd,Nk);x(B,$d,Zk);x(B,hd,Ok);x(B,nd,Pk);x(B,td,Qk);x(B,yd,Rk);x(B,se,al);x(B,Nd,Sk);x(B,te,cl);x(B,Od,Tk);x(B,Pd,Uk);x(B,Qd,Vk);x(B,Ud,Wk);x(B,Ne,jl);x(B,Xd,Yk);x(B,je,$k);x(B,re,bl);x(B,Ce,dl);x(B,Fe,fl);x(B,Me,gl);x(B,Oe,hl);x(B,Pe,il);x(B,Re,kl);x(B,Te,ll);x(B,Ue,ml);x(B,Ve,nl);x(B,Xe,sl);x(B,Ze,ol);x(B,$e,rl);x(B,
af,pl);x(B,Cf,vl);x(B,Nf,zl);x(B,bf,ql);x(B,sf,tl);x(B,vf,ul);x(B,Gf,wl);x(B,Hf,xl);x(B,Of,yl);x(B,Uf,Fl);x(B,Vf,Bl);x(B,Wf,Dl);x(B,bg,Jl);x(B,cg,Ll);x(B,Zf,Hl);x(B,eg,Nl);x(B,gg,Pl);x(B,hg,Rl);x(B,jg,Xl);x(B,lg,Tl);x(B,mg,Vl);x(B,qg,Zl);x(B,rg,am);x(B,sg,cm);x(B,tg,em);x(B,Ag,km);x(B,Bg,gm);x(B,Cg,im)}var Mk,Lk,Nk,Ok,Pk,Qk,Rk,Sk,Tk,Uk,Vk,Wk,Xk,Yk,Zk,$k,bl,al,cl,dl,fl,gl,jl,hl,il,kl,ll,ml,nl,sl,ol,rl,pl,ql,tl,ul,vl,wl,xl,zl,yl,Al,B,Fl,Bl,Dl,Hl,Jl,Ll,Nl,Pl,Rl,Xl,Tl,Vl,Zl,am,cm,em,km,gm,im;
function Gl(){this.b=Uf}s(75,27,{},Gl);function Cl(){this.b=Vf}s(76,27,{},Cl);function El(){this.b=Wf}s(77,27,{},El);function Il(){this.b=Zf}s(78,27,{},Il);function Kl(){this.b=bg}s(79,27,{},Kl);function Ml(){this.b=cg}s(80,27,{},Ml);function Ol(){this.b=eg}s(81,27,{},Ol);function Ql(){this.b=gg}s(82,27,{},Ql);function Sl(){this.b=hg}s(83,27,{},Sl);function Yl(){this.b=jg}s(84,27,{},Yl);function Ul(){this.b=lg}s(85,27,{},Ul);function Wl(){this.b=mg}s(86,27,{},Wl);function $l(){this.b=qg}
s(87,27,{},$l);function bm(){this.b=rg}s(88,27,{},bm);function dm(){this.b=sg}s(89,27,{},dm);function fm(){this.b=tg}s(90,27,{},fm);function Am(){this.b=Ag}s(91,27,{},Am);function hm(){this.b=Bg}s(92,27,{},hm);function jm(){this.b=Cg}s(93,27,{},jm);function Qj(){this.b=tj()}function tj(){return(new Date).getTime()}s(94,1,{},Qj);function Bm(a){var b,c,d;d=new Cm;for(c=a;c;)b=c.oc(),c!=a&&(d.b.b+="Caused by: "),Dm(d,c.cZ.e),d.b.b+=ob,Em(d.b,null==b?"(No exception detail)":b),d.b.b+=aa,c=c.f}
function Fm(a){var b,c,d;c=v(Gm,k,118,a.length,0);for(d=0,b=a.length;d<b;++d){if(!a[d])throw new Hm;c[d]=a[d]}}function Im(a){var b;b=a.cZ.e;a=a.oc();return null!=a?b+ob+a:b}s(99,1,{106:1,119:1});_.oc=function(){return this.i};_.tS=function(){return Im(this)};_.f=null;_.i=null;function Jm(a){Km();this.i=a}s(98,99,vh,Jm);function ci(a){Km();this.i=a}function $h(a,b){Km();this.f=b;this.i=a}s(97,98,Zg,ci,$h);
function Lm(a){Km();this.c=a;this.b=j;var b,c,d;c=Mm(Nm(this.c)?this.c:null);d=v(Gm,k,118,c.length,0);for(a=0,b=d.length;a<b;++a)d[a]=new Om(c[a]);Fm(d)}s(96,97,Zg,Lm);
_.oc=function(){if(null==this.d){this.e=null==this.c?xf:Nm(this.c)?null==this.c?null:this.c.name:y(this.c,1)?"String":Pm(this.c).e;this.b=this.b+ob+(Nm(this.c)?null==this.c?null:this.c.message:this.c+j);var a;if(Nm(this.c)){a=this.c;var b=j,c;for(c in a)if("name"!=c&&"message"!=c&&"toString"!=c)try{b+="\n "+c+ob+a[c]}catch(d){}a=b}else a=j;this.d=wa+this.e+") "+a+this.b}return this.d};_.b=j;_.c=null;_.d=null;_.e=null;function Qm(a,b){return Rm(a)?a.eQ(b):a===b}
function Pm(a){return Rm(a)?a.cZ:Sm}function Tm(a){return Rm(a)?a.hC():Lh(a)}s(104,1,{});function Lh(a){return a.$H||(a.$H=++Um)}function Vm(){return($wnd||self)["__gwtDevModeHook:"+$moduleName+":moduleBase"]||$moduleBase}function Wm(){return $wnd.setTimeout(function(){0!=Xm&&(Xm=0);Ym=-1},10)}var Xm=0,Um=0,Zm=0,Ym=-1;function $m(){$m=u;an=new bn}function cn(a,b){a.b=dn(a.b,[b,!1]);a.k||(a.k=!0,!a.f&&(a.f=new en(a)),fn(a.f,1),!a.j&&(a.j=new gn(a)),fn(a.j,50))}function bn(){}
function hn(a){return a.pc()}function dn(a,b){!a&&(a=[]);a[a.length]=b;return a}function jn(a,b){var c,d,e;for(c=0,d=a.length;c<d;++c){e=a[c];try{e[1]?e[0].pc()&&(b=dn(b,e)):e[0].hc()}catch(f){if(f=Zh(f),!y(f,119))throw f;}}return b}function fn(a,b){$m();$wnd.setTimeout(function(){Nj(hn)(a)&&$wnd.setTimeout(arguments.callee,b)},b)}s(106,104,{},bn);_.b=null;_.c=null;_.d=null;_.e=!1;_.f=null;_.i=null;_.j=null;_.k=!1;var an;function en(a){this.b=a}s(107,1,{},en);
_.pc=function(){this.b.e=!0;var a=this.b,b;a.b&&(b=a.b,a.b=null,!a.i&&(a.i=[]),jn(b,a.i));if(a.i){b=a.i;var c,d,e,f,g;e=b.length;if(0==e)b=null;else{c=!1;for(f=tj();100>tj()-f;)for(d=0;d<e;++d)if((g=b[d])&&!g[0].pc())b[d]=null,c=!0;if(c){c=[];for(d=0;d<e;++d)b[d]&&(c[c.length]=b[d]);b=0==c.length?null:c}}a.i=b}this.b.e=!1;return this.b.k=!!this.b.b||!!this.b.i};_.b=null;function gn(a){this.b=a}s(108,1,{},gn);_.pc=function(){this.b.e&&fn(this.b.f,1);return this.b.k};_.b=null;
function Km(){var a,b,c;try{null.a()}catch(d){a=d}var e=Mm(a);3<=e.length&&e.splice(0,3);c=v(Gm,k,118,e.length,0);for(a=0,b=c.length;a<b;++a)c[a]=new Om(e[a]);Fm(c)}function Mm(a){var b,c,d,e,a=a&&a.message?a.message.split(aa):[];for(b=0,c=0,e=a.length;c<e;++b,c+=2)d=a[c].lastIndexOf("function "),-1==d?a[b]=j:a[b]=kn(ln(a[c],d+9));a.length=b;for(b=0,c=a.length;b<c;++b)a[b]=0==a[b].length?"anonymous":a[b];return a}s(114,1,{});function Em(a,b){a.b+=b}function mn(){}s(115,114,{},mn);_.b=j;
function nn(a,b){return parseInt(a[b])||0}function on(a,b){return null==a[b]?null:""+a[b]}function pn(a){for(a=a.firstChild;a&&1!=a.nodeType;)a=a.nextSibling;return a}function qn(a){a=a.parentNode;(!a||1!=a.nodeType)&&(a=null);return a}function Mi(a){a=a.button;return 1==a?4:2==a?2:1}function Yi(a){for(var b=0,c=a.parentNode;c&&c.offsetParent;)c.tagName!=Uc&&c.tagName!=Nc&&(b-=c.scrollLeft),c=c.parentNode;for(;a;)b+=a.offsetLeft,a=a.offsetParent;return b}
function $i(a){for(var b=0,c=a.parentNode;c&&c.offsetParent;)c.tagName!=Uc&&c.tagName!=Nc&&(b-=c.scrollTop),c=c.parentNode;for(;a;)b+=a.offsetTop,a=a.offsetParent;return b}function Di(){var a=$doc;return(C(a.compatMode,Kb)?a.documentElement:a.body).clientHeight}function Ci(){var a=$doc;return(C(a.compatMode,Kb)?a.documentElement:a.body).clientWidth}function rn(a){return(C(a.compatMode,Kb)?a.documentElement:a.body).scrollLeft||0}
function sn(a){return(C(a.compatMode,Kb)?a.documentElement:a.body).scrollTop||0}function tn(a,b){this.c=a;this.d=b}s(137,1,{106:1,109:1,111:1});_.eQ=function(a){return this===a};_.hC=function(){return Lh(this)};_.tS=function(){return this.c};_.c=null;_.d=0;function Ji(){Ji=u;un=new vn;wn=new xn;yn=new zn;An=new Bn;Cn=new Dn;En=D(Fn,k,6,[un,wn,yn,An,Cn])}s(136,137,eh);var En,yn,wn,An,un,Cn;function vn(){tn.call(this,lc,0)}s(138,136,eh,vn);function xn(){tn.call(this,"DOTTED",1)}s(139,136,eh,xn);
function zn(){tn.call(this,"DASHED",2)}s(140,136,eh,zn);function Bn(){tn.call(this,"HIDDEN",3)}s(141,136,eh,Bn);function Dn(){tn.call(this,"SOLID",4)}s(142,136,eh,Dn);function Gn(){Gn=u;Hn=new In;Jn=new Kn;Ln=new Mn;Nn=new On;Pn=D(Qn,k,7,[Hn,Jn,Ln,Nn])}s(143,137,Bh);var Pn,Jn,Ln,Nn,Hn;function In(){tn.call(this,lc,0)}s(144,143,Bh,In);function Kn(){tn.call(this,"BLOCK",1)}s(145,143,Bh,Kn);function Mn(){tn.call(this,"INLINE",2)}s(146,143,Bh,Mn);function On(){tn.call(this,"INLINE_BLOCK",3)}
s(147,143,Bh,On);function Rn(){Rn=u;Sn=new Tn;Un=new Vn;Wn=new Xn;Yn=new Zn;$n=D(ao,k,9,[Sn,Un,Wn,Yn])}s(148,137,qh);var $n,Sn,Un,Wn,Yn;function Tn(){tn.call(this,Jb,0)}s(149,148,qh,Tn);function Vn(){tn.call(this,bc,1)}s(150,148,qh,Vn);function Xn(){tn.call(this,dc,2)}s(151,148,qh,Xn);function Zn(){tn.call(this,zc,3)}s(152,148,qh,Zn);function Ii(){Ii=u;bo=new co;eo=new fo;go=new ho;io=new jo;ko=new lo;mo=new no;oo=new po;qo=new ro;so=new to;uo=D(vo,k,10,[bo,eo,go,io,ko,mo,oo,qo,so])}s(153,137,Eh);
var uo,qo,go,io,oo,so,mo,eo,ko,bo;function co(){tn.call(this,"PX",0)}s(154,153,Eh,co);function fo(){tn.call(this,"PCT",1)}s(155,153,Eh,fo);function ho(){tn.call(this,"EM",2)}s(156,153,Eh,ho);function jo(){tn.call(this,"EX",3)}s(157,153,Eh,jo);function lo(){tn.call(this,"PT",4)}s(158,153,Eh,lo);function no(){tn.call(this,"PC",5)}s(159,153,Eh,no);function po(){tn.call(this,"IN",6)}s(160,153,Eh,po);function ro(){tn.call(this,"CM",7)}s(161,153,Eh,ro);function to(){tn.call(this,"MM",8)}s(162,153,Eh,to);
function wo(){wo=u;xo=[];yo=[];zo=[]}var xo,yo,zo;function Ao(){Ao=u;Bo=new Co}function Do(a){var b;b=$doc.createElement("style");b.language="text/css";b.textContent=a||j;return b}function Eo(a){var b;a.b||(b=$doc.getElementsByTagName("head")[0],a.b=b);return a.b}function Co(){}s(165,1,{},Co);_.b=null;var Bo;s(176,1,{});_.tS=function(){return"An event type"};_.i=null;s(175,176,{});_.sc=function(){this.f=!1;this.i=null};_.f=!1;s(174,175,{});_.rc=function(){return this.tc()};_.b=null;var Fo=_.c=null;
function Go(){Go=u;Ho=new Io(pd,new Jo)}function Jo(){}s(173,174,{},Jo);_.qc=function(a){a.uc(this)};_.tc=function(){return Ho};var Ho;function Ko(){Ko=u;Lo=new Io(xd,new Mo)}function Mo(){}s(177,174,{},Mo);_.qc=function(a){No();Oo(this,a.c,Po(a.b.b,a.b.b.pb.selectedIndex))};_.tc=function(){return Lo};var Lo;s(180,174,rh);function Ri(a,b){return(a.b.clientX||0)-Yi(b)+(b.scrollLeft||0)+rn(b.ownerDocument)}function Si(a,b){return(a.b.clientY||0)-$i(b)+(b.scrollTop||0)+sn(b.ownerDocument)}
function Ki(a){var b;return(b=a.c)?Ri(a,b):a.b.clientX||0}function Li(a){var b;return(b=a.c)?Si(a,b):a.b.clientY||0}s(179,180,rh);function Qo(){Qo=u;Ro=new Io(Ad,new So)}function So(){}s(178,179,rh,So);_.qc=function(a){a.vc(this)};_.tc=function(){return Ro};var Ro;function To(){To=u;Uo=new Io(Rd,new Vo)}function Vo(){}s(181,174,{},Vo);_.qc=function(){this.b.preventDefault();this.b.stopPropagation()};_.tc=function(){return Uo};var Uo;s(184,1,{82:1});_.hC=function(){return this.d};_.tS=function(){return"Event type"};
var Wo=_.d=0;function Jj(){this.d=++Wo}s(183,184,wh,Jj);function Io(a,b){this.d=++Wo;this.b=b;!Fo&&(Fo=new Xo);Fo.b[a]=this;this.c=a}s(182,183,wh,Io);_.b=null;_.c=null;function Yo(){Yo=u;Zo=new Io(Td,new $o)}function $o(){}s(185,179,rh,$o);
_.qc=function(a){var b=a.b,a=!a.b.I.d,c,d;if(a!=b.I.d)if(b.kb){if(a){if(b.O!=(ap(),bp))a=cp(b.pb),c=new dp(nn(b.pb,Af),nn(b.pb,zf)),d=new dp(nn(b.T.jb.pb,Af),nn(b.T.jb.pb,zf)),b.F.c=a.c-(c.c-d.c),b.F.b=a.b-(c.b-d.b);ep(b.I,!0);a=nn(b.T.jb.pb,Af);fp(b,new dp(a,gp(b.T.jb).b));b.J&&b.O!=bp&&hp(b.r,b)}else ep(b.I,!1),b.O!=(ap(),bp)?fp(b,new dp(b.F.c,b.F.b)):ip(b,cp(b.r.pb)),b.J&&b.O!=bp&&jp(b.r,b);kp(b.T.jb)}else ep(b.I,!0)};_.tc=function(){return Zo};var Zo;function lp(){lp=u;mp=new Io(ee,new np)}
function np(){}s(186,174,{},np);_.qc=function(a){Xi(a.b.b)};_.tc=function(){return mp};var mp;s(188,174,{});s(187,188,{});function op(){op=u;pp=new Io(Ie,new qp)}function qp(){}s(189,187,{},qp);
_.qc=function(a){var b,c;c=this.b.keyCode||0;b=new rp(null,c,null);if(this.b.ctrlKey||this.b.shiftKey||this.b.metaKey||this.b.altKey)this.b.ctrlKey&&(b.f|=2),this.b.altKey&&(b.f|=8),this.b.metaKey&&(b.f|=4),this.b.shiftKey&&(b.f|=1);a:{var a=a.b.d,d,e;a.gb=!1;if(!a.x){a.gb=!0;a.I=j;e=0;d=8==b.f;b=0!=(b.f&2);switch(c){case 99:case 67:b?sp(tp(a)):e=301;break;case 118:case 86:b&&(c=a.t,c.b=new up(a),vp(),wp(c));break;case 110:case 78:e=401;break;case 111:case 79:e=501;break;case 115:case 83:e=601;break;
case 112:case 80:e=1101;break;case 102:case 70:e=701;break;case 108:case 76:e=801;break;case 98:case 66:e=901;break;case 105:case 73:e=1001;break;case 120:case 88:xp(a,on((yp(),zp).Tb.b.pb,Eg));e=1201;a.d=18;break;case 104:case 72:a.gb=!0;a.I=Xb;e=1300;break;case 114:case 82:a.gb=!0;a.I=tc;e=1301;break;case 116:case 84:701==a.c?(e=236,a.gb=!0,a.I=Na):801==a.c?(e=237,a.gb=!0,a.I=Ma):(e=233,a.gb=!0,a.I="-tBu");break;case 121:case 89:b?e=111:(e=234,a.gb=!0,a.I=Ta);break;case 122:case 90:b?e=110:(e=239,
a.gb=!0,a.I=Wa);break;case 97:case 65:e=235;a.gb=!0;a.I="-COOH";break;case 101:case 69:e=238;a.gb=!0;a.I=Fa;break;case 117:case 85:e=110;break;case 113:case 81:e=242;a.gb=!0;a.I=Ga;break;case 103:break a;case 27:e=202;break;case 45:701==a.c?(e=254,a.gb=!0,a.I="-F"):801==a.c?(e=255,a.gb=!0,a.I="-Cl"):901==a.c?(e=256,a.gb=!0,a.I="-Br"):1001==a.c?(e=257,a.gb=!0,a.I="-I"):501==a.c?(e=259,a.gb=!0,a.I="-OH"):401==a.c?(e=258,a.gb=!0,a.I="-NH2"):e=202;break;case 61:501==a.c?(e=250,a.gb=!0,a.I="=O"):e=203;
break;case 35:e=204;break;case 48:105==a.c?Ap(a,0):d?(e=223,a.gb=!0,a.I="-3-Furyl"):(e=221,a.gb=!0,a.I="-Furyl");break;case 49:105==a.c?Ap(a,1):1301==a.c?(a.gb=!0,a.I="-R1",e=1302):e=209;break;case 50:105==a.c&&Ap(a,2);1301==a.c&&(a.gb=!0,a.I="-R2",e=1303);break;case 51:105==a.c?Ap(a,3):1301==a.c?(a.gb=!0,a.I="-R3",e=1304):e=206;break;case 52:105==a.c?Ap(a,4):e=207;break;case 53:105==a.c?Ap(a,5):e=208;break;case 54:105==a.c?Ap(a,6):e=210;break;case 55:105==a.c?Ap(a,7):e=211;break;case 56:105==a.c?
Ap(a,8):e=212;break;case 57:105==a.c?Ap(a,9):(a.gb=!0,a.I="9 ring",e=229);break;case 100:case 68:case 8:case 127:e=104;break;case 32:e=205;break;case 109:case 77:case 1002:e=151;break;case 119:case 87:case 1003:e=152}Bp(a,e)}}};_.tc=function(){return pp};var pp;function Cp(){Cp=u;Dp=new Io(jf,new Ep)}function Ep(){}s(190,179,rh,Ep);_.qc=function(a){a.ec(this)};_.tc=function(){return Dp};var Dp;function Ei(){Ei=u;Fi=new Io(kf,new Fp)}function Fp(){}s(191,179,rh,Fp);_.qc=function(a){a.fc(this)};
_.tc=function(){return Fi};var Fi;function Gp(){Gp=u;Hp=new Io(lf,new Ip)}function Ip(){}s(192,179,rh,Ip);_.qc=function(a){var b;a.f&&1==a.e&&(b=new Qi(si,null),a.c.j=a.i+b.b,a.c.k=a.j+b.e,ti(a))};_.tc=function(){return Hp};var Hp;function Gi(){Gi=u;Hi=new Io(nf,new Jp)}function Jp(){}s(193,179,rh,Jp);_.qc=function(a){a.gc(this)};_.tc=function(){return Hi};var Hi;function Xo(){this.b={}}s(194,1,{},Xo);_.b=null;function Kp(a,b){this.b=b;this.c=a}function Lp(a,b,c){Ij&&(b=new Kp(b,c),a.Ec(b))}
s(196,175,{},Kp);_.qc=function(a){a.Ac(this)};_.rc=function(){return Ij};_.b=!1;var Ij=_.c=null;function Mp(a){this.b=a}s(197,175,{},Mp);_.qc=function(a){a.Bc(this)};_.rc=function(){return Np};var Np=_.b=null;function Op(){}function Pp(a){var b;Qp&&(b=new Op,a.Ec(b))}s(198,175,{},Op);_.qc=function(a){a.Cc(this)};_.rc=function(){return Qp};var Qp=null;function Rp(a){this.b=a}s(199,175,{},Rp);_.qc=function(a){a.Dc(this)};_.rc=function(){return Sp};var Sp=_.b=null;function Tp(){}s(200,175,{},Tp);
_.qc=function(a){a.b.W&&a.b.od()};_.rc=function(){return Up};var Up=null;function Vp(a,b,c){a=a.b;if(!b)throw new Wp("Cannot add a handler with a null type");if(!c)throw new Wp("Cannot add a null handler");0<a.c?Xp(a,new Yp(a,b,c)):Zp(a,b,null,c);return new $p(new aq(a,b,c))}
function bq(a,b){var c;!b.f||b.sc();c=b.i;b.i=a.c;try{var d=a.b,e,f,g,h,i;if(!b)throw new Wp("Cannot fire null event");try{++d.c;h=cq(d,b.rc(),null);e=null;for(i=d.d?h.Ne(h.ie()):h.Me();d.d?i.Pe():i.Hc();){g=d.d?i.Qe():i.Ic();try{b.qc(g)}catch(l){if(l=Zh(l),y(l,119))f=l,!e&&(e=new dq),eq(e,f);else throw l;}}if(e)throw new fq(e);}finally{if(--d.c,0==d.c){var m,n;if(d.b)try{for(n=new Th(d.b);n.c<n.e.ie();)m=Uh(n),m.hc()}finally{d.b=null}}}}catch(o){o=Zh(o);if(y(o,83))throw new gq(o.b);throw o;}finally{null==
c?(b.f=!0,b.i=null):b.i=c}}function hq(a){iq.call(this,a,!1)}function iq(a,b){this.b=new jq(b);this.c=a}s(201,1,Ah,hq,iq);_.Ec=function(a){bq(this,a)};_.b=null;_.c=null;s(204,1,{});function Xp(a,b){!a.b&&(a.b=new oi);hi(a.b,b)}function Zp(a,b,c,d){var e;e=ri(a.e,b);e||(e=new Rh,x(a.e,b,e));a=e.ee(c);a||(a=new oi,e.ge(c,a));a.Ee(d)}function kq(a,b,c,d){var e,f;e=cq(a,b,c);e.Ge(d)&&e.fe()&&(f=ri(a.e,b),f.he(c),f.fe()&&bi(a.e,b))}
function cq(a,b,c){a=ri(a.e,b);if(!a)return lq(),lq(),mq;c=a.ee(c);return!c?(lq(),lq(),mq):c}s(203,204,{});_.b=null;_.c=0;_.d=!1;function jq(a){this.e=new Rh;this.d=a}s(202,203,{},jq);function $p(a){this.b=a}s(205,1,{},$p);_.b=null;function fq(a){$h.call(this,nq(a),oq(a));this.b=a}function oq(a){a=a.gd();return!a.Hc()?null:a.Ic()}
function nq(a){var b,c,d;b=a.ie();if(0==b)return null;b=new pq(1==b?"Exception caught: ":b+" exceptions caught: ");c=!0;for(a=a.gd();a.Hc();)d=a.Ic(),c?c=!1:b.b.b+="; ",d=d.oc(),Em(b.b,d);return b.b.b}s(207,97,fh,fq);_.b=null;function gq(a){fq.call(this,a)}s(206,207,fh,gq);s(208,1,{},function(){});function qq(a){a=on(a,Wd);return rq(Xf,a)?(sq(),tq):rq(Se,a)?(sq(),uq):(sq(),vq)}function sq(){sq=u;tq=new wq("RTL",0);uq=new wq("LTR",1);vq=new wq("DEFAULT",2);xq=D(yq,k,48,[tq,uq,vq])}
function wq(a,b){tn.call(this,a,b)}s(210,137,{48:1,106:1,109:1,111:1},wq);var xq,vq,uq,tq;function zq(){}function Aq(a,b){var c=Array(b);if(3==a)for(var d=0;d<b;++d){var e={};e.l=e.m=e.h=0;c[d]=e}else if(0<a){e=[null,0,!1][a];for(d=0;d<b;++d)c[d]=e}return c}function v(a,b,c,d,e){d=Aq(e,d);D(a,b,c,d);return d}function Bq(a){return Cq([Dq,E],[k,r],[105,-1],a,0,2,1)}
function Cq(a,b,c,d,e,f,g){var h,i,l;i=d[e];h=e==f-1;l=Aq(h?g:0,i);D(a[e],b[e],c[e],l);if(!h){++e;for(h=0;h<i;++h)l[h]=Cq(a,b,c,d,e,f,g)}return l}function D(a,b,c,d){Eq();var e=Fq,f=Gq;Eq();for(var g=0,h=e.length;g<h;++g)d[e[g]]=f[g];d.cZ=a;d.cM=b;d.qI=c;return d}function Hq(a,b,c){if(null!=c){if(0<a.qI&&(!c.cM||!c.cM[a.qI]))throw new Iq;if(-1==a.qI&&(c.tM==u||c.cM&&c.cM[1]))throw new Iq;if(-1>a.qI&&(c.tM==u||c.cM&&c.cM[1])&&(!c.cM||!c.cM[-a.qI]))throw new Iq;}a[b]=c}s(211,1,{},zq);_.qI=0;
function Eq(){Eq=u;Fq=[];Gq=[];var a=new zq,b=Fq,c=Gq,d=0,e,f;for(f in a)if(e=a[f])b[d]=f,c[d]=e,++d}var Fq,Gq;function y(a,b){return null!=a&&a.cM&&!!a.cM[b]}function Nm(a){return null!=a&&a.tM!=u&&!(a.cM&&a.cM[1])}function Rm(a){return a.tM==u||a.cM&&!!a.cM[1]}function Jq(a){return null==a?null:a}function G(a){return~~Math.max(Math.min(a,2147483647),-2147483648)}
function Kq(){var a;$stats&&Lq("com.google.gwt.useragent.client.UserAgentAsserter");a=navigator.userAgent.toLowerCase();if(-1!=a.indexOf(Bf))a=Bf;else if(-1!=a.indexOf("webkit"))a="safari";else if(-1!=a.indexOf(pf)&&9<=$doc.documentMode)a="ie9";else if(-1!=a.indexOf(pf)&&8<=$doc.documentMode)a="ie8";else{var b;var c=/msie ([0-9]+)\.([0-9]+)/.exec(a);c&&3==c.length&&(b=6E3<=1E3*parseInt(c[1])+parseInt(c[2]));a=b?"ie6":-1!=a.indexOf("gecko")?"gecko1_8":"unknown"}C(Bf,a)||$wnd.alert("ERROR: Possible problem with your *.gwt.xml module file.\nThe compile time user.agent value (opera) does not match the runtime user.agent value ("+
a+"). Expect more errors.\n");$stats&&Lq("com.google.gwt.user.client.DocumentModeAsserter");b=$doc.compatMode;a=D(Mq,k,1,[Kb]);for(c=0;c<a.length&&!C(a[c],b);++c);$stats&&Lq("com.allen_sauer.gwt.dnd.client.util.DragEntryPoint");$wnd.$GWT_DND_VERSION="3.0.0";wo();zo.unshift("HTML{margin:0 !important;border:none !important;}.dragdrop-handle{cursor:move;user-select:none;-khtml-user-select:none;-moz-user-select:none;}.GBVTBU-BB{zoom:1;}.dragdrop-dragging{zoom:normal;}.GBVTBU-BI{border:1px dashed #1e90ff;margin:0 !important;zoom:1;z-index:100;}.dragdrop-flow-panel-positioner{color:#1e90ff;display:inline;text-align:center;vertical-align:middle;}.dragdrop-proxy{background-color:#7af;}.dragdrop-selected,.dragdrop-dragging,.dragdrop-proxy{filter:alpha(opacity \\= 30);opacity:0.3;}.dragdrop-movable-panel{z-index:200;margin:0 !important;border:none !important;}");
wo();0!=zo.length&&(a=zo.join(j),b=(Ao(),Bo),a=Do(a),Eo(b).insertBefore(a,b.b.firstChild),zo.length=0);0!=xo.length&&(a=xo.join(j),b=(Ao(),Bo),a=Do(a),Eo(b).appendChild(a),xo.length=0);0!=yo.length&&(a=yo.join(j),b=(Ao(),Bo),a=Do(a),Eo(b).appendChild(a),yo.length=0);$stats&&Lq("export.client.JSME_export");new Nq;$wnd.jsmeOnLoad&&typeof $wnd.jsmeOnLoad==ke?$wnd.jsmeOnLoad():$wnd.alert('Warning: the global function "jsmeOnLoad" is not defined.\n If you have defined it, there might be a syntax error in your javascript code.')}
function Zh(a){return y(a,119)?a:new Lm(a)}function Oq(a){return Pq(a&4194303,a>>22&4194303,0>a?1048575:0)}function Qq(a){return Pq(a.l,a.m,a.h)}function Pq(a,b,c){return _=new Rq,_.l=a,_.m=b,_.h=c,_}
function Sq(a,b){var c,d,e,f,g;if(0==b.l&&0==b.m&&0==b.h)throw new Tq;if(0==a.l&&0==a.m&&0==a.h)return Uq=Pq(0,0,0),Pq(0,0,0);if(524288==b.h&&0==b.m&&0==b.l)return c=a,524288==c.h&&0==c.m&&0==c.l?(Uq=Pq(0,0,0),c=Qq((Vq(),Wq))):(Uq=Pq(c.l,c.m,c.h),c=Pq(0,0,0)),c;g=!1;0!=b.h>>19&&(b=Xq(b),g=!0);e=b.l;0!=(e&e-1)?f=-1:(d=b.m,0!=(d&d-1)?f=-1:(c=b.h,f=0!=(c&c-1)||0==c&&0==d&&0==e?-1:0==c&&0==d&&0!=e?Yq(e):0==c&&0!=d&&0==e?Yq(d)+22:0!=c&&0==d&&0==e?Yq(c)+44:-1));c=d=e=!1;if(524288==a.h&&0==a.m&&0==a.l)if(e=
d=!0,-1==f)a=Qq((Vq(),Zq)),c=!0,g=!g;else return c=$q(a,f),g&&ar(c),Uq=Pq(0,0,0),c;else 0!=a.h>>19&&(e=!0,a=Xq(a),c=!0,g=!g);if(-1!=f){c=a;d=f;f=g;g=e;e=$q(c,d);f&&ar(e);var h;22>=d?(f=c.l&(1<<d)-1,h=c=0):44>=d?(f=c.l,h=c.m&(1<<d-22)-1,c=0):(f=c.l,h=c.m,c=c.h&(1<<d-44)-1);c=Pq(f,h,c);g?Uq=Xq(c):Uq=Pq(c.l,c.m,c.h);return e}if(!br(a,b))return e?Uq=Xq(a):Uq=Pq(a.l,a.m,a.h),Pq(0,0,0);c=c?a:Pq(a.l,a.m,a.h);var i,l,m,n;h=cr(b)-cr(c);l=h&63;22>l?(f=b.l<<l,i=b.m<<l|b.l>>22-l,l=b.h<<l|b.m>>22-l):44>l?(f=0,
i=b.l<<l-22,l=b.m<<l-22|b.l>>44-l):(i=f=0,l=b.l<<l-44);i=Pq(f&4194303,i&4194303,l&1048575);for(f=Pq(0,0,0);0<=h;){l=c;var o=n=m=void 0,o=l.h-i.h;0>o?l=!1:(m=l.l-i.l,n=l.m-i.m+(m>>22),o+=n>>22,0>o?l=!1:(l.l=m&4194303,l.m=n&4194303,l.h=o&1048575,l=!0));if(l&&(22>h?f.l|=1<<h:44>h?f.m|=1<<h-22:f.h|=1<<h-44,0==c.l&&0==c.m&&0==c.h))break;l=i.m;m=i.h;n=i.l;i.h=m>>>1;i.m=l>>>1|(m&1)<<21;i.l=n>>>1|(l&1)<<21;--h}g&&ar(f);e?(Uq=Xq(c),d&&(c=Uq,g=(Vq(),Wq),e=c.l-g.l,d=c.m-g.m+(e>>22),Uq=Pq(e&4194303,d&4194303,
c.h-g.h+(d>>22)&1048575))):Uq=Pq(c.l,c.m,c.h);return f}function ar(a){var b,c,d;b=~a.l+1&4194303;c=~a.m+(0==b?1:0)&4194303;d=~a.h+(0==b&&0==c?1:0)&1048575;a.l=b;a.m=c;a.h=d}function cr(a){var b;b=dr(a.h);return 32==b?(b=dr(a.m),32==b?dr(a.l)+32:b+20-10):b-12}var Uq=null;function er(a,b){var c,d;c=a.l+b.l;d=a.m+b.m+(c>>22);return Pq(c&4194303,d&4194303,a.h+b.h+(d>>22)&1048575)}function fr(a,b){return Pq(a.l&b.l,a.m&b.m,a.h&b.h)}function gr(a,b){return a.l==b.l&&a.m==b.m&&a.h==b.h}
function H(a){var b,c,d;if(isNaN(a))return Vq(),hr;if(-9223372036854775E3>a)return Vq(),ir;if(9223372036854775E3<=a)return Vq(),Zq;d=!1;0>a&&(d=!0,a=-a);c=0;17592186044416<=a&&(c=G(a/17592186044416),a-=17592186044416*c);b=0;4194304<=a&&(b=G(a/4194304),a-=4194304*b);a=G(a);b=Pq(a,b,c);d&&ar(b);return b}function jr(a){var b,c;return-129<a&&128>a?(b=a+128,null==kr&&(kr=v(lr,k,49,256,0)),c=kr[b],!c&&(c=kr[b]=Oq(a)),c):Oq(a)}
function mr(a){var b=Ng,c,d;c=a.h>>19;d=b.h>>19;return 0==c?0!=d||a.h>b.h||a.h==b.h&&a.m>b.m||a.h==b.h&&a.m==b.m&&a.l>b.l:!(0==d||a.h<b.h||a.h==b.h&&a.m<b.m||a.h==b.h&&a.m==b.m&&a.l<=b.l)}function br(a,b){var c,d;c=a.h>>19;d=b.h>>19;return 0==c?0!=d||a.h>b.h||a.h==b.h&&a.m>b.m||a.h==b.h&&a.m==b.m&&a.l>=b.l:!(0==d||a.h<b.h||a.h==b.h&&a.m<b.m||a.h==b.h&&a.m==b.m&&a.l<b.l)}
function nr(a,b){var c,d,e,f,g,h,i,l,m,n,o,q,w,F;c=a.l&8191;d=a.l>>13|(a.m&15)<<9;e=a.m>>4&8191;f=a.m>>17|(a.h&255)<<5;g=(a.h&1048320)>>8;h=b.l&8191;i=b.l>>13|(b.m&15)<<9;l=b.m>>4&8191;m=b.m>>17|(b.h&255)<<5;n=(b.h&1048320)>>8;o=c*h;w=d*h;q=e*h;F=f*h;g*=h;0!=i&&(w+=c*i,q+=d*i,F+=e*i,g+=f*i);0!=l&&(q+=c*l,F+=d*l,g+=e*l);0!=m&&(F+=c*m,g+=d*m);0!=n&&(g+=c*n);c=(o&4194303)+((w&511)<<13);o=(o>>22)+(w>>9)+((q&262143)<<4)+((F&31)<<17)+(c>>22);q=(q>>18)+(F>>5)+((g&4095)<<8)+(o>>22);return Pq(c&4194303,o&
4194303,q&1048575)}function Xq(a){var b,c;b=~a.l+1&4194303;c=~a.m+(0==b?1:0)&4194303;return Pq(b,c,~a.h+(0==b&&0==c?1:0)&1048575)}function $q(a,b){var c,d,e,b=b&63;c=a.h;(d=0!=(c&524288))&&(c|=-1048576);22>b?(e=c>>b,d=a.m>>b|c<<22-b,c=a.l>>b|a.m<<22-b):44>b?(e=d?1048575:0,d=c>>b-22,c=a.m>>b-22|c<<44-b):(e=d?1048575:0,d=d?4194303:0,c>>=b-44);return Pq(c&4194303,d&4194303,e&1048575)}function I(a){return a.l|a.m<<22}
function or(a){var b,c,d;if(0==a.l&&0==a.m&&0==a.h)return cb;if(524288==a.h&&0==a.m&&0==a.l)return"-9223372036854775808";if(0!=a.h>>19)return Da+or(Xq(a));for(c=j;!(0==a.l&&0==a.m&&0==a.h);){b=jr(1E9);a=Sq(a,b);b=j+I(Uq);if(!(0==a.l&&0==a.m&&0==a.h))for(d=9-b.length;0<d;--d)b=cb+b;c=b+c}return c}var kr=null;function Vq(){Vq=u;Zq=Pq(4194303,4194303,524287);ir=Pq(0,0,524288);Wq=jr(1);jr(2);hr=jr(0)}var Zq,ir,Wq,hr;function Rq(){}s(220,1,{49:1},Rq);
function Lq(a){$stats({moduleName:$moduleName,sessionId:$sessionId,subSystem:"startup",evtGroup:"moduleStartup",millis:(new Date).getTime(),type:"onModuleLoadStart",className:a})}function pr(a,b,c){this.d=this.c=0;this.b=c;this.f=b;this.e=a}s(225,1,{},pr);_.b=0;_.c=0;_.d=0;_.e=null;_.f=0;function qr(a,b){Em(a.b.b,b.b);return a}function rr(){this.b=new sr}s(226,1,{},rr);function tr(a){if(null==a)throw new Wp("css is null");this.b=a}s(227,1,{50:1,106:1},tr);
_.eQ=function(a){return!y(a,50)?!1:C(this.b,a.b)};_.hC=function(){return ur(this.b)};_.b=null;function vr(a){if(null==a)throw new Wp("html is null");this.b=a}s(229,1,bh,vr);_.Fc=function(){return this.b};_.eQ=function(a){return!y(a,52)?!1:C(this.b,a.b)};_.hC=function(){return ur(this.b)};_.b=null;s(230,1,bh,function(){this.b=j});_.Fc=function(){return this.b};_.eQ=function(a){return!y(a,52)?!1:C(this.b,a.b)};_.hC=function(){return ur(this.b)};_.b=null;
function wr(){wr=u;xr=RegExp(pa,le);yr=RegExp(tb,le);zr=RegExp(qb,le);Ar=RegExp(va,le);Br=RegExp(da,le)}function Cr(a){wr();-1!=a.indexOf(pa)&&(a=a.replace(xr,ra));-1!=a.indexOf(qb)&&(a=a.replace(zr,ta));-1!=a.indexOf(tb)&&(a=a.replace(yr,sa));-1!=a.indexOf(da)&&(a=a.replace(Br,"&quot;"));-1!=a.indexOf(va)&&(a=a.replace(Ar,"&#39;"));return a}var xr,yr,zr,Br,Ar;function Dr(a){if(null==a)throw new Wp("uri is null");this.b=a}s(232,1,{53:1},Dr);_.eQ=function(a){return!y(a,53)?!1:C(this.b,a.b)};_.hC=function(){return ur(this.b)};
_.b=null;function Er(){Er=u}s(234,1,{});function Fr(){}s(235,1,{},Fr);var Gr=null;function Hr(){}s(236,234,{},Hr);var Ir=null;function Jr(a,b,c){var d,e,f,g,h;if(a)for(g=0,h=c.length;g<h;++g){f=c[g];e=cq(a.b,f,null).ie();for(e-=1;0<=e;--e)if(d=cq(a.b,f,null).Le(e),y(d,54)&&Qm(d.b,b)){var i=a.b,l=f;0<i.c?Xp(i,new Kr(i,l,null,d)):kq(i,l,null,d)}}}s(237,1,xh);_.b=null;function Lr(a){this.b=a}s(238,237,xh,Lr);_.Gc=function(a){a.d&&(this.b.Lc(a.e)||(a.b=!0))};function Mr(a){this.b=a}s(239,237,xh,Mr);
_.Cc=function(){Nr(this.b.b)};function Or(){Km()}s(240,97,Zg,Or);function Pr(a){0!=a.c.d&&!a.f&&!a.d&&(a.f=!0,xj(a.e,1))}function cs(){this.b=new ds(this);this.c=new oi;this.e=new es(this);this.i=new fs(this)}s(241,1,{},cs);_.d=!1;_.f=!1;function ds(a){Dj();this.b=a}s(242,24,{},ds);_.nc=function(){if(this.b.d){var a=this.b,b;b=gs(a.i.e.c,a.i.c);hs(a.i);y(b,55)&&new Or;a.d=!1;Pr(a)}};_.b=null;function es(a){Dj();this.b=a}s(243,24,{},es);
_.nc=function(){this.b.f=!1;var a=this.b,b=tj(),c,d,e;e=!1;try{a.d=!0;a.i.b=a.c.d;for(xj(a.b,1E4);a.i.d<a.i.b;){d=is(a.i);try{if(null==d)break;y(d,55)&&(c=d,c.hc())}finally{(e=-1==a.i.c)||hs(a.i)}if(100<=tj()-b)break}}finally{e||(rj(a.b),a.d=!1,Pr(a))}};_.b=null;function is(a){var b;a.c=a.d;b=gs(a.e.c,a.d++);a.d>=a.b&&(a.d=0);return b}function hs(a){js(a.e.c,a.c);--a.b;a.c<=a.d&&0>--a.d&&(a.d=0);a.c=-1}function fs(a){this.e=a}s(244,1,{},fs);_.Hc=function(){return this.d<this.b};_.Ic=function(){return is(this)};
_.Jc=function(){hs(this)};_.b=0;_.c=-1;_.d=0;_.e=null;function ks(a,b){var c=(ls(),ms(b));a.appendChild(c)}function ns(a,b,c){var d;d=Wi;Wi=a;b==xi&&8192==os(a.type)&&(xi=null);c.Kc(a);Wi=d}var Wi=null,xi=null;function ps(){ps=u;qs=new cs}function Oi(a){ps();if(!a)throw new Wp("cmd cannot be null");var b=qs;hi(b.c,a);Pr(b)}var qs;function rs(a){yi();!ss&&(ss=new Jj);ts||(ts=new iq(null,!0),us=new vs);return Vp(ts,ss,a)}var ts=null;function ws(a){a.f=!1;a.i=null;a.b=!1;a.c=!1;a.d=!0;a.e=null}
function vs(){}s(250,175,{},vs);_.qc=function(a){a.Gc(this);us.d=!1};_.rc=function(){return ss};_.sc=function(){ws(this)};_.b=!1;_.c=!1;_.d=!1;var ss=_.e=null,us=null;function xs(){xs=u;ys=new zs;As()||(ys=null)}var ys=null;function Fj(){}s(252,1,{},Fj);_.Ac=function(){for(;0<(Dj(),Ej).d;)rj(gs(Ej,0))};function Hj(a,b){return Vp((!Bs&&(Bs=new Cs),Bs),a,b)}function Ds(a){Gj();Es||(Fs(),Es=!0);return Hj((!Qp&&(Qp=new Jj),Qp),a)}function Gj(){Gs||(Hs(),Gs=!0)}
function Is(){var a;Gs&&(a=new Js,Bs&&bq(Bs,a));return null}var Gs=!1,Bs=null,Ks=0,Ls=0,Es=!1;function Ms(){Ms=u;Ns=new Jj}function Js(){Ms()}s(254,175,{},Js);_.qc=function(){null.kf()};_.rc=function(){return Ns};var Ns;function Cs(){hq.call(this,null)}s(256,201,Ah,Cs);
function os(a){switch(a){case pd:return 4096;case xd:return 1024;case Ad:return 1;case Td:return 2;case ee:return 2048;case Ie:return 128;case Je:return 256;case Ke:return 512;case Qe:return 32768;case "losecapture":return 8192;case jf:return 4;case kf:return 64;case lf:return 32;case mf:return 16;case nf:return 8;case "scroll":return 16384;case "error":return 65536;case "DOMMouseScroll":case of:return 131072;case Rd:return 262144;case "paste":return 524288;case yg:return 1048576;case xg:return 2097152;
case wg:return 4194304;case vg:return 8388608;case oe:return 16777216;case me:return 33554432;case ne:return 67108864;default:return-1}}function yi(){Os||(Ps(),Os=!0)}var Os=!1;function Qs(a,b){for(var c=0,d=a.firstChild;d;){if(1==d.nodeType){if(b==c)return d;++c}d=d.nextSibling}return null}function Rs(a){for(var b=0,a=a.firstChild;a;)1==a.nodeType&&++b,a=a.nextSibling;return b}
function Ps(){Ss=Nj(function(a){var b;var c=ts,d,e,f;ss&&c&&Ts(c.b.e,ss)?(b=us.b,d=us.c,e=us.d,f=us.e,ws(us),us.e=a,bq(c,us),c=!(us.b&&!us.c),us.b=b,us.c=d,us.d=e,us.e=f,b=c):b=!0;!b&&a&&(a.cancelBubble=!0,a.preventDefault());return!b?(a.stopPropagation(),a.preventDefault(),!1):!0});Us=Nj(function(a){for(var b,c=this;c&&!(b=c.__listener);)c=c.parentNode;c&&1!=c.nodeType&&(c=null);b&&!Nm(b)&&y(b,56)&&ns(a,c,b)});Vs=Nj(function(a){a.preventDefault();Us.call(this,a)});Ws=Nj(function(a){this.__gwtLastUnhandledEvent=
a.type;Us.call(this,a)});Xs=Nj(function(a){if(Ss(a)){var b=zi;b&&b.__listener&&!Nm(b.__listener)&&y(b.__listener,56)&&(ns(a,b,b.__listener),a.stopPropagation())}});$wnd.addEventListener(Ad,Xs,!0);$wnd.addEventListener(Td,Xs,!0);$wnd.addEventListener(jf,Xs,!0);$wnd.addEventListener(nf,Xs,!0);$wnd.addEventListener(kf,Xs,!0);$wnd.addEventListener(mf,Xs,!0);$wnd.addEventListener(lf,Xs,!0);$wnd.addEventListener(of,Xs,!0);$wnd.addEventListener(Ie,Ss,!0);$wnd.addEventListener(Ke,Ss,!0);$wnd.addEventListener(Je,
Ss,!0);$wnd.addEventListener(yg,Xs,!0);$wnd.addEventListener(xg,Xs,!0);$wnd.addEventListener(wg,Xs,!0);$wnd.addEventListener(vg,Xs,!0);$wnd.addEventListener(oe,Xs,!0);$wnd.addEventListener(me,Xs,!0);$wnd.addEventListener(ne,Xs,!0)}function Ys(a,b,c){for(var d=0,e=a.firstChild,f=null;e;){if(1==e.nodeType){if(d==c){f=e;break}++d}e=e.nextSibling}a.insertBefore(b,f)}var zi=null,Ss=null,Xs=null,Vs=null,Us=null,Ws=null;
function Zs(a,b){a.__eventBits=b;a.onclick=b&1?Us:null;a.ondblclick=b&2?Us:null;a.onmousedown=b&4?Us:null;a.onmouseup=b&8?Us:null;a.onmouseover=b&16?Us:null;a.onmouseout=b&32?Us:null;a.onmousemove=b&64?Us:null;a.onkeydown=b&128?Us:null;a.onkeypress=b&256?Us:null;a.onkeyup=b&512?Us:null;a.onchange=b&1024?Us:null;a.onfocus=b&2048?Us:null;a.onblur=b&4096?Us:null;a.onlosecapture=b&8192?Us:null;a.onscroll=b&16384?Us:null;a.onload=b&32768?Ws:null;a.onerror=b&65536?Us:null;a.onmousewheel=b&131072?Us:null;
a.oncontextmenu=b&262144?Us:null;a.onpaste=b&524288?Us:null}function $s(){var a;$s=u;at=(a=$doc,C(a.compatMode,Kb)?a.documentElement:a.body)}var at;function bt(){this.c=new oi}function ct(a){a=a[$c];return null==a?-1:a}s(261,1,{},bt);_.b=null;function dt(a,b){this.b=a;this.c=b}s(262,1,{},dt);_.b=0;_.c=null;s(263,1,Ah);_.Mc=function(a){return decodeURI(a.replace("%23",na))};_.Ec=function(a){bq(this.b,a)};_.Nc=function(a){a=null==a?j:a;if(!C(a,null==et?j:et))et=a,Up&&(a=new Tp,bq(this.b,a))};
var et=j;function As(){function a(){$wnd.setTimeout(a,250);e()}var b=ys,c=j,d=$wnd.location.hash;0<d.length&&(c=b.Mc(d.substring(1)));et=c;var e=Nj(function(){var a=j,c=$wnd.location.hash;0<c.length&&(a=b.Mc(c.substring(1)));b.Nc(a)});a();return!0}function zs(){this.b=new hq(null)}s(264,263,Ah,zs);
function Hs(){var a=$wnd.onbeforeunload,b=$wnd.onunload;$wnd.onbeforeunload=function(b){var d;try{d=Nj(Is)()}finally{b=a&&a(b)}if(null!=d)return d;if(null!=b)return b};$wnd.onunload=Nj(function(a){try{Gs&&Lp((!Bs&&(Bs=new Cs),Bs),null,!1)}finally{b&&b(a),$wnd.onresize=null,$wnd.onscroll=null,$wnd.onbeforeunload=null,$wnd.onunload=null}})}
function Fs(){var a=$wnd.onresize;$wnd.onresize=Nj(function(b){try{var c,d;if(Es&&(d=Ci(),c=Di(),Ls!=d||Ks!=c))Ls=d,Ks=c,Pp((!Bs&&(Bs=new Cs),Bs))}finally{a&&a(b)}})}function ni(a,b){Vh(a.Sc(),b,!0)}function mi(a,b){Vh(a.Sc(),b,!1)}function Bi(a,b,c){0<=b&&a.Xc(b+Jf);0<=c&&a.Vc(c+Jf)}function ft(a){var b,a=on(a,zd);b=gt(a,ht(32));return 0<=b?a.substr(0,b-0):a}
function Vh(a,b,c){if(!a)throw new ci(pc);b=kn(b);if(0==b.length)throw new Kj(Mc);if(c){var d,e,f;d=kn(b);f=a.className;for(b=f.indexOf(d);-1!=b;){if(0==b||32==f.charCodeAt(b-1))if(c=b+d.length,e=f.length,c==e||c<e&&32==f.charCodeAt(c))break;b=f.indexOf(d,b+1)}-1==b&&(0<f.length&&(f+=ca),a.className=f+d)}else{var g,b=kn(b);e=a.className;for(c=e.indexOf(b);-1!=c;){if(0==c||32==e.charCodeAt(c-1))if(f=c+b.length,g=e.length,f==g||f<g&&32==e.charCodeAt(f))break;c=e.indexOf(b,c+1)}-1!=c&&(f=kn(e.substr(0,
c-0)),b=kn(ln(e,c+b.length)),0==f.length?d=b:0==b.length?d=f:d=f+ca+b,a.className=d)}}function it(a,b){a.style.display=b?j:tf;a.setAttribute("aria-hidden",""+!b)}s(270,1,Hh);_.Oc=function(){return Yi(this.pb)};_.Pc=function(){return $i(this.pb)};_.Qc=function(){return nn(this.pb,zf)};_.Rc=function(){return nn(this.pb,Af)};_.Sc=function(){return this.pb};_.Tc=function(){return this.pb.style.display!=tf};_.Uc=function(){throw new jt;};_.Vc=function(a){this.pb.style[De]=a};
_.Wc=function(a){it(this.pb,a)};_.Xc=function(a){this.pb.style[Jg]=a};_.tS=function(){return!this.pb?"(null handle)":this.pb.outerHTML};_.pb=null;
function A(a,b,c){var d;d=os(c.c);if(-1==d){var e=a.pb;d=c.c;yi();switch(d){case "drag":e.ondrag=Us;break;case "dragend":e.ondragend=Us;break;case "dragenter":e.ondragenter=Vs;break;case "dragleave":e.ondragleave=Us;break;case "dragover":e.ondragover=Vs;break;case "dragstart":e.ondragstart=Us;break;case "drop":e.ondrop=Us;break;case "canplaythrough":case "ended":case "progress":e.removeEventListener(d,Us,!1);e.addEventListener(d,Us,!1);break;default:throw"Trying to sink unknown event type "+d;}}else-1==
a.lb?(e=a.pb,d|=a.pb.__eventBits||0,yi(),Zs(e,d)):a.lb|=d;return Vp(!a.mb?a.mb=new hq(a):a.mb,c,b)}function kt(a,b,c){return Vp(!a.mb?a.mb=new hq(a):a.mb,c,b)}function lt(a){var b;if(a.$c())throw new mt("Should only call onAttach when the widget is detached from the browser's document");a.kb=!0;a.pb.__listener=a;b=a.lb;a.lb=-1;if(0<b)if(-1==a.lb){var c=a.pb;b|=a.pb.__eventBits||0;yi();Zs(c,b)}else a.lb|=b;a.Yc();a.bd()}
function nt(a,b){var c;switch(os(b.type)){case 16:case 32:if((c=b.relatedTarget)&&a.pb.contains(c))return}c=a.pb;var d,e,f;if(Fo&&(f=Fo.b[b.type]))d=f.b.b,e=f.b.c,f.b.b=b,f.b.c=c,a.mb&&bq(a.mb,f.b),f.b.b=d,f.b.c=e}function ot(a){if(!a.$c())throw new mt("Should only call onDetach when the widget is attached to the browser's document");try{a.cd()}finally{try{a.Zc()}finally{a.pb.__listener=null,a.kb=!1}}}
function Xi(a){if(a.ob)if(y(a.ob,69))a.ob.dd(a);else{if(a.ob)throw new mt("This widget's parent does not implement HasWidgets");}else if(vi(),Ts(pt.b,a)){vi();try{a.ad()}finally{bi(pt.b,a)}}}function qt(a,b){var c;c=a.ob;if(b){if(c)throw new mt("Cannot set a new parent without first clearing the old parent");a.ob=b;b.$c()&&a._c()}else try{c&&c.$c()&&a.ad()}finally{a.ob=null}}s(269,270,Gh);_.Yc=function(){};_.Zc=function(){};_.Ec=function(a){this.mb&&bq(this.mb,a)};_.$c=function(){return this.kb};
_._c=function(){lt(this)};_.Kc=function(a){nt(this,a)};_.ad=function(){ot(this)};_.bd=function(){};_.cd=function(){};_.kb=!1;_.lb=0;_.mb=null;_.nb=null;_.ob=null;function rt(a){for(a=new st(a);a.b.b<a.b.c.d-1;)tt(a.b),ut(a.b)}s(268,269,Ih);_.Yc=function(){vt(this,(wt(),xt))};_.Zc=function(){vt(this,(wt(),yt))};function zt(a,b,c){Xi(b);var d=a.q;At(d,b,d.d);d=(ls(),ms(b.pb));c.appendChild(d);qt(b,a)}
function Bt(a,b,c,d,e){var f;if(0>d||d>a.q.d)throw new Ct;b.ob==a&&(f=a.ed(b),f<d&&--d);Xi(b);At(a.q,b,d);e?(e=b.pb,Ys(c,(ls(),ms(e)),d)):(e=(ls(),ms(b.pb)),c.appendChild(e));qt(b,a)}function Dt(a,b){var c;if(b.ob!=a)return!1;try{qt(b,null)}finally{c=b.pb;qn(c).removeChild(c);c=a.q;var d;d=Et(c,b);if(-1==d)throw new Ft;if(0>d||d>=c.d)throw new Ct;for(--c.d;d<c.d;++d)Hq(c.b,d,c.b[d+1]);Hq(c.b,c.d,null)}return!0}s(267,268,Ih);_.ed=function(a){return Et(this.q,a)};
_.fd=function(a,b,c,d){Bt(this,a,b,c,d)};_.gd=function(){return new Gt(this.q)};_.dd=function(a){return Dt(this,a)};function ui(a,b,c,d){var e;Xi(b);e=a.q.d;a.kd(b,c,d);a.fd(b,a.pb,e,!0)}function Ht(a,b){var c;(c=Dt(a,b))&&It(b.pb);return c}function Jt(a,b,c,d){if(b.ob!=a)throw new Kj("Widget must be a child of this panel.");a.kd(b,c,d)}function Kt(a,b,c){a=a.pb;-1==b&&-1==c?It(a):(a.style[Ff]=bd,a.style[Le]=b+Jf,a.style[ug]=c+Jf)}
function Lt(){var a=$doc.createElement(Zd);this.q=new Mt(this);this.pb=a;this.pb.style[Ff]="relative";this.pb.style[Df]=Ee}function It(a){a.style[Le]=j;a.style[ug]=j;a.style[Ff]=j}s(266,267,Ih,Lt);_.hd=function(a){zt(this,a,this.pb)};_.dd=function(a){return Ht(this,a)};_.jd=function(a,b,c){Jt(this,a,b,c)};_.kd=function(a,b,c){Kt(a,b,c)};function Nt(a,b){if(a.md())throw new mt("SimplePanel can only contain one child widget");a.nd(b)}
function Ot(a,b){if(a.jb!=b)return!1;try{qt(b,null)}finally{a.ld().removeChild(b.pb),a.jb=null}return!0}function Pt(a,b){if(b!=a.jb&&(b&&Xi(b),a.jb&&a.dd(a.jb),a.jb=b)){var c=(ls(),ms(a.jb.pb));a.ld().appendChild(c);qt(b,a)}}function Qt(){this.pb=$doc.createElement(Zd)}s(274,268,Ih,Qt);_.ld=function(){return this.pb};_.md=function(){return this.jb};_.gd=function(){return new Rt(this)};_.dd=function(a){return Ot(this,a)};_.nd=function(a){Pt(this,a)};_.jb=null;
function St(a,b){a.hb&&(Tt(a.gb,!1,!1),Lp(a,a,b))}function Ut(a){var b;if(b=a.jb)null!=a.X&&b.Vc(a.X),null!=a.Y&&b.Xc(a.Y)}function Vt(a,b,c){a.cb=b;a.ib=c;c-=0;a=a.pb;a.style[Le]=b-0+(Ii(),Jf);a.style[ug]=c+Jf}function Wt(a){a.hb||(a.kb&&Xi(a),Tt(a.gb,!0,!1))}s(273,274,Ih);_.ld=function(){return pn(this.pb)};_.Qc=function(){return nn(this.pb,zf)};_.Rc=function(){return nn(this.pb,Af)};_.Sc=function(){return qn(pn(this.pb))};_.od=function(){this.pd(!1)};_.pd=function(a){St(this,a)};
_.Tc=function(){return!C(Ee,this.pb.style[Gg])};_.Lc=function(){return!0};_.Gc=function(){};_.cd=function(){this.hb&&Tt(this.gb,!1,!0)};_.Vc=function(a){this.X=a;Ut(this);0==a.length&&(this.X=null)};_.qd=function(a,b){Vt(this,a,b)};_.Wc=function(a){this.pb.style[Gg]=a?Hg:Ee};_.nd=function(a){Pt(this,a);Ut(this)};_.Xc=function(a){this.Y=a;Ut(this);0==a.length&&(this.Y=null)};_.rd=function(){Wt(this)};_.V=!1;_.W=!1;_.X=null;_.Y=null;_.Z=null;_._=null;_.ab=!1;_.bb=!1;_.cb=-1;_.db=!1;_.eb=null;_.fb=!1;
_.hb=!1;_.ib=-1;
function Xt(a,b){var c;Qt.call(this);this.$=new Yt;this.U=(Zt(),$t);this.gb=new au(this);this.pb.appendChild($doc.createElement(Zd));this.qd(0,0);qn(pn(this.pb))[zd]="gwt-PopupPanel";pn(this.pb)[zd]=Ef;this.W=this.V=a;this.db=!1;c=D(Mq,k,1,[b+"Top",b+"Middle",b+"Bottom"]);this.T=new bu(c);this.T.Sc()[zd]=j;c=qn(pn(this.pb));var d="gwt-DecoratedPopupPanel";if(!c)throw new ci(pc);d=kn(d);if(0==d.length)throw new Kj(Mc);var e=c.className.split(/\s+/);if(e){var f=e[0],g=f.length;e[0]=d;for(var h=1,i=
e.length;h<i;h++){var l=e[h];l.length>g&&l.charAt(g)==Da&&0==l.indexOf(f)&&(e[h]=d+l.substring(g))}c.className=e.join(ca)}Pt(this,this.T);Ut(this);Vh(pn(this.pb),Ef,!1);Vh(this.T.c,b+"Content",!0)}s(272,273,Ih);_.Yc=function(){lt(this.T)};_.Zc=function(){ot(this.T)};_.md=function(){return this.T.jb};_.gd=function(){return new Rt(this.T)};_.dd=function(a){return this.T.dd(a)};_.nd=function(a){Pt(this.T,a);Ut(this)};_.T=null;s(271,272,Ih);_.ad=function(){ot(this)};
function cu(){cu=u;du=new eu(Jb,0,(Zt(),$t));fu=new eu(rc,1,gu);hu=new eu(Ac,2,iu);ju=D(ku,k,57,[du,fu,hu])}function eu(a,b,c){tn.call(this,a,b);this.b=c}s(275,137,{57:1,106:1,109:1,111:1},eu);_.b=null;var ju,du,fu,hu;function lu(){lu=u;mu=D(Mq,k,1,[ug,cf,sd])}
function bu(a){var b;lu();var c,d;c=this.pb=$doc.createElement(kg);this.d=$doc.createElement(ng);ks(c,this.d);c[vd]=0;for(c=c[ud]=0;c<a.length;++c)d=(b=$doc.createElement(zg),b[zd]=a[c],ks(b,nu(a[c]+"Left")),ks(b,nu(a[c]+Lb)),ks(b,nu(a[c]+"Right")),b),ks(this.d,d),1==c&&(this.c=pn(Qs(d,1)));this.pb[zd]="gwt-DecoratorPanel"}function nu(a){var b,c;c=$doc.createElement(og);b=$doc.createElement(Zd);var d=(ls(),ms(b));c.appendChild(d);c[zd]=a;b[zd]=a+"Inner";return c}s(277,274,ch,bu);_.ld=function(){return this.c};
_.c=null;_.d=null;var mu;s(276,277,ch);s(278,1,{});function wt(){wt=u;xt=new ou;yt=new pu}function qu(a){fq.call(this,a)}function vt(a,b){wt();var c,d,e;c=null;for(e=a.gd();e.Hc();){d=e.Ic();try{b.sd(d)}catch(f){if(f=Zh(f),y(f,119))d=f,!c&&(c=new dq),eq(c,d);else throw f;}}if(c)throw new qu(c);}s(279,206,fh,qu);var xt,yt;function ou(){}s(280,1,{},ou);_.sd=function(a){a._c()};function pu(){}s(281,1,{},pu);_.sd=function(a){a.ad()};s(284,269,Vg);_.wc=function(a){return A(this,a,(Cp(),Cp(),Dp))};
_.xc=function(a){return A(this,a,(Ei(),Ei(),Fi))};_.yc=function(a){return A(this,a,(Gp(),Gp(),Hp))};_.zc=function(a){return A(this,a,(Gi(),Gi(),Hi))};_._c=function(){lt(this);-1==this.pb.tabIndex&&(this.pb.tabIndex=0)};s(283,284,{11:1,12:1,13:1,14:1,15:1,16:1,17:1,18:1,19:1,20:1,21:1,22:1,23:1,24:1,25:1,26:1,27:1,28:1,29:1,30:1,31:1,32:1,33:1,34:1,35:1,36:1,37:1,38:1,39:1,40:1,41:1,42:1,43:1,45:1,47:1,51:1,56:1,59:1,62:1,63:1,64:1,65:1,66:1,67:1,68:1,71:1,75:1,76:1,77:1,78:1,79:1,81:1});
function ru(a){var b;this.pb=(b=$doc.createElement("BUTTON"),b.type=td,b);this.pb[zd]="gwt-Button";this.pb.innerHTML=a||j}s(282,283,{11:1,12:1,13:1,14:1,15:1,16:1,17:1,18:1,19:1,20:1,21:1,22:1,23:1,24:1,25:1,26:1,27:1,28:1,29:1,30:1,31:1,32:1,33:1,34:1,35:1,36:1,37:1,38:1,39:1,40:1,41:1,42:1,43:1,45:1,47:1,51:1,56:1,58:1,59:1,62:1,63:1,64:1,65:1,66:1,67:1,68:1,71:1,75:1,76:1,77:1,78:1,79:1,81:1},ru);
function su(){this.q=new Mt(this);this.f=$doc.createElement(kg);this.e=$doc.createElement(ng);ks(this.f,this.e);this.pb=this.f}s(285,267,Ih);_.e=null;_.f=null;function tu(a,b){var c;if(a.i)throw new mt("Composite.initWidget() may only be called once.");Xi(b);c=b.pb;a.pb=c;var d;ls();try{d=!!c&&!!c.__gwt_resolve}catch(e){d=!1}d&&((ls(),c).__gwt_resolve=uu(a));a.i=b;qt(b,a)}
function vu(a){if(-1!=a.lb){var b=a.i,c=a.lb;if(-1==b.lb){var d=b.pb,b=c|(b.pb.__eventBits||0);yi();Zs(d,b)}else b.lb|=c;a.lb=-1}a.i._c();a.pb.__listener=a;a.bd()}s(286,269,sh);_.$c=function(){return this.i?this.i.$c():!1};_._c=function(){vu(this)};_.Kc=function(a){nt(this,a);this.i.Kc(a)};_.ad=function(){this.i.ad()};_.Uc=function(){return this.pb=this.i.Uc()};_.i=null;
function wu(a,b,c){a.d=!1;c?a.b.innerHTML=b||j:a.b.textContent=b||j;if(a.e!=a.c)switch(a.e=a.c,b=a.b,a.c.d){case 0:b[Wd]=Xf;break;case 1:b[Wd]=Se;break;case 2:qq(b)!=(sq(),vq)&&(b[Wd]=j)}}function xu(a){this.b=a;this.d=!1;this.e=this.c=qq(a)}s(287,1,{},xu);_.b=null;_.c=null;_.d=!1;_.e=null;function Ai(){this.pb=yu()}s(288,274,Wg,Ai);_.wc=function(a){return A(this,a,(Cp(),Cp(),Dp))};_.xc=function(a){return A(this,a,(Ei(),Ei(),Fi))};_.yc=function(a){return A(this,a,(Gp(),Gp(),Hp))};
_.zc=function(a){return A(this,a,(Gi(),Gi(),Hi))};function zu(a,b,c,d){b=a.e.b.d.rows[b].cells[c];var e,c=pn(b);e=null;c&&(c=ct(c),e=0>c?null:gs(a.j.c,c));e?Au(a,e):d&&(b.innerHTML=j||j);return b}function Au(a,b){var c;if(b.ob!=a)return!1;try{qt(b,null)}finally{c=b.pb;qn(c).removeChild(c);var d=a.j,e;e=ct(c);c[$c]=null;c=d.c;Bu(e,c.d);Hq(c.c,e,null);d.b=new dt(e,d.b)}return!0}s(290,268,$g);_.gd=function(){return new Cu(this)};_.dd=function(a){return Au(this,a)};_.d=null;_.e=null;_.f=null;_.i=null;
function Du(a){if(0>=a.c)throw new Eu("Row index: 0, Row size: "+a.c);if(0>=a.b)throw new Eu("Column index: 0, Column size: "+a.b);}
function Fu(){this.j=new bt;this.i=$doc.createElement(kg);this.d=$doc.createElement(ng);ks(this.i,this.d);this.pb=this.i;this.e=new Gu(this);var a=new Hu(this);this.f&&(a.b=this.f.b);a=this.f=a;if(!a.b){a.b=$doc.createElement("colgroup");var b=a.b;Ys(a.c.i,(ls(),ms(b)),0);ks(a.b,$doc.createElement(Gd))}var c,d;if(1!=this.b){if(1<this.b)for(a=0;a<this.c;++a)for(b=this.b-1;1<=b;--b){c=b;d=void 0;d=this.c;if(a>=d||0>a)throw new Eu("Row index: "+a+", Row size: "+d);if(0>c)throw new Eu("Column "+c+" must be non-negative: "+
c);if(this.b<=c)throw new Eu("Column index: "+c+", Column size: "+this.b);c=zu(this,a,b,!1);d=this.d.rows[a];d.removeChild(c)}else for(a=0;a<this.c;++a)for(b=this.b;1>b;++b)c=this.d.rows[a],d=$doc.createElement(og),d.innerHTML=ua||j,Ys(c,(ls(),ms(d)),b);this.b=1;a=this.f;b=1;b=1<b?b:1;c=a.b.childNodes.length;if(c<b)for(;c<b;++c)d=$doc.createElement(Gd),a.b.appendChild(d);else if(c>b)for(;c>b;--c)a.b.removeChild(a.b.lastChild)}if(1!=this.c)if(1>this.c){a=this.d;b=1-this.c;d=this.b;var e=$doc.createElement(og);
e.innerHTML=ua;c=$doc.createElement(zg);for(var f=0;f<d;f++){var g=e.cloneNode(!0);c.appendChild(g)}a.appendChild(c);for(d=1;d<b;d++)a.appendChild(c.cloneNode(!0));this.c=1}else for(;1<this.c;){a=this.c-1;c=b=void 0;c=this.b;for(b=0;b<c;++b)zu(this,a,b,!1);this.d.removeChild(this.d.rows[a]);--this.c}}s(289,290,$g,Fu);_.b=0;_.c=0;
function Iu(a){var b;!a.b?b=null:a.b?b=a.b:b=a.b==(Ju(),Ku)?a.c.e==(sq(),uq)?(Lu(),Mu):a.c.e==tq?(Lu(),Nu):(Lu(),Ou):a.c.e==(sq(),uq)?(Lu(),Nu):a.c.e==tq?(Lu(),Mu):(Lu(),Pu);b!=a.d&&(a.d=b,a.pb.style.textAlign=!a.d?j:a.d.b)}s(293,269,Gh);_.b=null;_.c=null;_.d=null;function Qu(){this.pb=$doc.createElement(Zd);this.c=new xu(this.pb);this.pb[zd]="gwt-Label"}function Ru(){Qu.call(this);wu(this.c,Kg,!1);Iu(this)}
s(292,293,{11:1,13:1,15:1,16:1,18:1,19:1,20:1,21:1,22:1,23:1,24:1,25:1,26:1,28:1,29:1,30:1,34:1,35:1,36:1,37:1,38:1,39:1,40:1,41:1,42:1,43:1,45:1,47:1,56:1,67:1,68:1,71:1,75:1,78:1,79:1,81:1},Qu,Ru);_.wc=function(a){return A(this,a,(Cp(),Cp(),Dp))};_.xc=function(a){return A(this,a,(Ei(),Ei(),Fi))};_.yc=function(a){return A(this,a,(Gp(),Gp(),Hp))};_.zc=function(a){return A(this,a,(Gi(),Gi(),Hi))};
function Su(a){var b=$doc.createElement(Zd);rq(fg,b.tagName);this.pb=b;this.c=new xu(this.pb);this.pb[zd]="gwt-HTML";wu(this.c,a,!0);Iu(this)}s(291,292,{11:1,13:1,15:1,16:1,18:1,19:1,20:1,21:1,22:1,23:1,24:1,25:1,26:1,28:1,29:1,30:1,34:1,35:1,36:1,37:1,38:1,39:1,40:1,41:1,42:1,43:1,45:1,47:1,51:1,56:1,66:1,67:1,68:1,71:1,75:1,78:1,79:1,81:1},Su);function Tu(a){for(;++a.c<a.e.d&&!(null!=gs(a.e,a.c)););}function Cu(a){this.d=a;this.e=this.d.j.c;Tu(this)}s(294,1,{},Cu);
_.Hc=function(){return this.c<this.e.d};_.Ic=function(){var a;if(this.c>=this.e.d)throw new Ft;a=gs(this.e,this.c);this.b=this.c;Tu(this);return a};_.Jc=function(){var a;if(0>this.b)throw new Uu;a=gs(this.e,this.b);Xi(a);this.b=-1};_.b=-1;_.c=-1;_.d=null;function Gu(a){this.b=a}s(295,1,{},Gu);_.b=null;function Hu(a){this.c=a}s(296,1,{},Hu);_.b=null;_.c=null;function Ju(){Ju=u;Ku=new Vu}var Ku;function Lu(){Lu=u;Wu=new Xu((Rn(),wd));Mu=new Xu(Le);Nu=new Xu(Tf);Ou=Mu;Pu=Nu;Yu=Ou}
var Wu,Yu,Mu,Pu,Ou,Nu;function Vu(){}s(298,1,{},Vu);function Xu(a){this.b=a}s(299,298,{},Xu);_.b=null;function Zu(){Zu=u;$u=new av(cf);bv=new av(ug)}var $u,bv;function av(a){this.b=a}s(300,1,{},av);_.b=null;function cv(a,b){var c;c=dv(a);ks(a.c,c);zt(a,b,c)}function dv(a){var b;b=$doc.createElement(og);b[ed]=a.b.b;b.style[Fg]=a.d.b;return b}function ev(a,b){var c,d;d=qn(b.pb);(c=Dt(a,b))&&a.c.removeChild(d);return c}
function fv(){su.call(this);this.b=(Lu(),Yu);this.d=(Zu(),bv);this.c=$doc.createElement(zg);ks(this.e,this.c);this.f[vd]=cb;this.f[ud]=cb}s(301,285,Ih,fv);_.dd=function(a){return ev(this,a)};_.c=null;function gv(){gv=u;new Rh}function hv(a,b,c,d,e){gv();this.b=new iv(this,a,b,c,d,e);this.pb[zd]="gwt-Image"}function jv(a,b,c,d,e){gv();hv.call(this,(Er(),new Dr(a)),b,c,d,e)}
s(302,269,{11:1,13:1,15:1,16:1,18:1,19:1,20:1,21:1,22:1,23:1,24:1,25:1,26:1,28:1,29:1,30:1,34:1,35:1,36:1,37:1,38:1,39:1,40:1,41:1,42:1,43:1,45:1,47:1,56:1,68:1,71:1,75:1,78:1,79:1,81:1},hv,jv);_.wc=function(a){return A(this,a,(Cp(),Cp(),Dp))};_.xc=function(a){return A(this,a,(Ei(),Ei(),Fi))};_.yc=function(a){return A(this,a,(Gp(),Gp(),Hp))};_.zc=function(a){return A(this,a,(Gi(),Gi(),Hi))};_.Kc=function(a){32768==os(a.type)&&this.b&&(this.pb.__gwtLastUnhandledEvent=j);nt(this,a)};
_.bd=function(){var a=this.b;C(Qe,on(this.pb,"__gwtLastUnhandledEvent"))&&(a.i=new kv(a,this),cn(($m(),an),a.i))};_.b=null;s(304,1,{});_.i=null;function lv(){lv=u;mv()}
function iv(a,b,c,d,e,f){var g,h;lv();this.c=c;this.d=d;this.f=e;this.b=f;this.e=b;g=$doc.createElement(fg);h=new rr;qr(qr(qr(h,new tr("width:"+e+(Ii(),Jf)+pb)),new tr("height:"+f+Mf)),new tr("background:url("+b.b+") no-repeat "+-c+"px "+-d+Mf));!nv&&(nv=new ov);b=pv;c=new tr((new tr(h.b.b.b)).b);h=new sr;h.b.b+="<img onload='this.__gwtLastUnhandledEvent=\"load\";' src='";b=Cr(b.b);Em(h.b,b);h.b.b+="' style='";b=Cr(c.b);Em(h.b,b);h.b.b+="' border='0'>";h=new vr(h.b.b);g.innerHTML=h.b||j;g=pn(g);a.kb&&
(a.pb.__listener=null);if(a.pb&&(h=a.pb,b=h.parentNode))b.insertBefore(g,h),b.removeChild(h);a.pb=g;a.kb&&(a.pb.__listener=a);-1==a.lb?(g=a.pb,a=133333119|(a.pb.__eventBits||0),yi(),Zs(g,a)):a.lb|=133333119}s(303,304,{},iv);_.b=0;_.c=0;_.d=0;_.e=null;_.f=0;function kv(a,b){this.b=a;this.c=b}s(305,1,{},kv);
_.hc=function(){var a,b;this.c.b!=this.b||this!=this.b.i||(this.b.i=null,this.c.kb?(a=(b=$doc.createEvent("HTMLEvents"),b.initEvent(Qe,!1,!1),b),this.c.pb.dispatchEvent(a)):this.c.pb.__gwtLastUnhandledEvent=Qe)};_.b=null;_.c=null;function qv(a,b){if(0>b||b>=a.pb.options.length)throw new Ct;}function Po(a,b){qv(a,b);return a.pb.options[b].value}function rv(){this.pb=$doc.createElement("select");this.pb[zd]="gwt-ListBox"}s(306,284,Vg,rv);s(307,237,xh);function sv(a){this.b=a}s(308,307,xh,sv);_.uc=function(){};
function tv(a){this.b=a}s(309,307,xh,tv);_.Ac=function(a){this.b.td(a.i,a.b)};function uv(a,b,c){var d;if(a.p){var e=d=$doc.createElement(zg);Ys(a.f,(ls(),ms(e)),b);a=(ls(),ms(c));d.appendChild(a)}else d=Qs(a.f,0),Ys(d,(ls(),ms(c)),b)}
function vv(a,b,c){var d;wv(a,b);c&&b.b?(wv(a,null),a=b.b,b=($m(),an),b.d=dn(b.d,[new xv(a),!1])):null!=b.d&&(a.k=new yv(a,b),c=(Zt(),gu),a.k.U=c,a.k.ab=a.i,a.k.Sc()[zd]=ve,d=ft(a.pb),C(ue,d)||ni(a.k,d+"Popup"),kt(a.k,new tv(a),Ij?Ij:Ij=new Jj),a.o=b.d,d=a.k,a=new zv(a,b),d.pb.style[Gg]=Ee,Wt(d),a.b.p?Vt(a.b.k,Yi(a.b.pb)+nn(a.b.pb,Af)-1,$i(a.c.pb)):Vt(a.b.k,Yi(a.c.pb),$i(a.b.pb)+nn(a.b.pb,zf)-1),d.pb.style[Gg]=Hg)}function Av(a,b){if(b||!(a.n&&a.o==a.n.d))wv(a,b),a.pb.focus(),b&&a.e&&vv(a,b,!1)}
function Bv(a,b){var c;a:{c=b.target;var d,e;for(e=new Th(a.j);e.c<e.e.ie();)if(d=Uh(e),d.pb.contains(c)){c=d;break a}c=null}switch(os(b.type)){case 1:a.pb.focus();c&&vv(a,c,!0);break;case 16:c&&Av(a,c);break;case 32:c&&Av(a,null);break;case 2048:Cv(a);break;case 128:switch(c=b.keyCode||0,c){case 37:Cv(a)||a.p||Dv(a);b.cancelBubble=!0;b.preventDefault();break;case 39:Cv(a)||(a.p?null!=a.n.d&&!a.n.d.kf().kf()&&(vv(a,a.n,!1),a.n.d.kf()):Ev(a));b.cancelBubble=!0;b.preventDefault();break;case 38:Cv(a)||
a.p&&Dv(a);b.cancelBubble=!0;b.preventDefault();break;case 40:Cv(a)||(a.p?Ev(a):null!=a.n.d&&!a.n.d.kf().kf()&&(vv(a,a.n,!1),a.n.d.kf()));b.cancelBubble=!0;b.preventDefault();break;case 27:wv(a,null);a.k&&St(a.k,!1);b.cancelBubble=!0;b.preventDefault();break;case 9:wv(a,null);a.k&&St(a.k,!1);break;case 13:Cv(a)||(vv(a,a.n,!0),b.cancelBubble=!0,b.preventDefault())}}nt(a,b)}function Fv(a,b,c){c&&wv(a,null);Lp(a,b,!1);a.o=null;a.k=null}
function Cv(a){var b;if(!a.n){for(b=new Th(a.j);b.c<b.e.ie();){b=Uh(b);wv(a,b);break}return!0}return!1}function wv(a,b){var c;if(b!=a.n){if(a.n){c=a.n;var d=ft(c.pb)+Xa;Vh(c.Sc(),d,!1);a.p&&(c=qn(a.n.pb),2==Rs(c)&&(c=Qs(c,1),Vh(c,ig,!1)))}if(b){c=ft(b.pb)+Xa;Vh(b.Sc(),c,!0);a.p&&(c=qn(b.pb),2==Rs(c)&&(c=Qs(c,1),Vh(c,ig,!0)));Kk();c=a.pb;var e=new lk(b.pb),d=(Fk(),Gk),e=D(Gv,k,5,[e]),f,g,h,i;f=new Cm;for(h=0,i=e.length;h<i;++h)g=e[h],Dm(Dm(f,g.b),ca);e=kn(f.b.b);c.setAttribute(d.b,e)}a.n=b}}
function Ev(a){var b,c,d;if(a.n){for(b=c=Ni(a.j,a.n);;){c+=1;c==a.j.d&&(c=0);d=c==b?gs(a.j,b):gs(a.j,c);break}wv(a,d)}}function Dv(a){var b,c,d;if(a.n){for(b=c=Ni(a.j,a.n);;){c-=1;0>c&&(c=a.j.d-1);d=c==b?gs(a.j,b):gs(a.j,c);break}wv(a,d)}}s(310,269,Gh);_.Kc=function(a){Bv(this,a)};_.ad=function(){this.k&&St(this.k,!1);ot(this)};_.td=function(a,b){Fv(this,a,b)};_.e=!1;_.f=null;_.i=!1;_.k=null;_.n=null;_.o=null;_.p=!1;function xv(a){this.b=a}s(311,1,{},xv);_.hc=function(){Hv(this.b)};_.b=null;
function Iv(a){this.b=a}s(312,1,{},Iv);_.uc=function(){wv(this.b,null)};_.b=null;function yv(a,b){this.b=a;this.c=b;Xt.call(this,!0,Ye);Pt(this.T,this.c.d);Ut(this);this.fb=!0;this.c.d.kf()}s(313,272,Ih,yv);_.Gc=function(a){var b,c;if(!a.b)switch(os(a.e.type)){case 4:c=a.e.target;b=this.c.c.pb;if(b.contains(c)){a.b=!0;break}a.b&&wv(this.b,null)}};_.b=null;_.c=null;function zv(a,b){this.b=a;this.c=b}s(314,1,{},zv);_.b=null;var Jv=_.c=null;
function Kv(){Kv=u;Jv=new pr((Er(),new Dr("")),5,9)}function Lv(a,b){this.pb=$doc.createElement(og);var c=ft(this.pb)+Xa;Vh(this.Sc(),c,!1);this.pb.textContent=a||j;this.pb[zd]="gwt-MenuItem";var c=this.pb,d;d=$doc;!d.gwt_uid&&(d.gwt_uid=1);d="gwt-uid-"+d.gwt_uid++;c.setAttribute("id",d);Kk();this.pb.setAttribute("role",rl.b);this.b=b}s(317,270,{51:1,64:1,66:1,67:1,68:1,72:1,79:1},Lv);_.b=null;_.c=null;
_.d=null;function Mv(){var a;this.pb=$doc.createElement(og);this.pb[zd]="gwt-MenuItemSeparator";a=$doc.createElement(Zd);ks(this.pb,a);a[zd]="menuSeparatorInner"}s(318,270,Hh,Mv);function Nv(){var a,b,c,d,e;b=null.kf();e=Ci();d=Di();b[Yd]=(Gn(),tf);b[Jg]=0+(Ii(),Jf);b[De]=db;c=$doc;c=(C(c.compatMode,Kb)?c.documentElement:c.body).scrollWidth||0;a=$doc;a=(C(a.compatMode,Kb)?a.documentElement:a.body).scrollHeight||0;b[Jg]=(c>e?c:e)+Jf;b[De]=(a>d?a:d)+Jf;b[Yd]="block"}function Yt(){}s(319,1,{},Yt);
_.Cc=function(){Nv()};function Ov(a){this.b=a}s(320,1,{},Ov);
_.Gc=function(a){var b=this.b,c,d;if(a.b||!b.fb&&a.c)b.db&&(a.b=!0);else if(b.Gc(a),!a.b){d=a.e;c=d.target;var e;try{e=!!c&&!!c.nodeType}catch(f){e=!1}(c=e&&c&&1==c.nodeType?b.pb.contains(c):!1)&&(a.c=!0);b.db&&(a.b=!0);switch(os(d.type)){case 4:case 1048576:if(xi){a.c=!0;break}if(!c&&b.V){b.pd(!0);break}break;case 8:case 64:case 1:case 2:case 4194304:if(xi){a.c=!0;break}break;case 2048:d=d.target,b.db&&!c&&d&&(d.blur&&d!=$doc.body&&d.blur(),a.b=!0)}}};_.b=null;function Pv(a){this.b=a}
s(321,1,{},Pv);_.b=null;function Zt(){Zt=u;$t=new Qv(Jb,0);gu=new Qv(rc,1);iu=new Qv(Ac,2);Rv=D(Sv,k,73,[$t,gu,iu])}function Qv(a,b){tn.call(this,a,b)}s(322,137,{73:1,106:1,109:1,111:1},Qv);var Rv,$t,gu,iu;function Tv(a){a.k?a.b.bb&&($doc.body.appendChild(a.b.Z),a.i=Ds(a.b.$),Nv(),a.c=!0):a.c&&($doc.body.removeChild(a.b.Z),di(a.i.b),a.i=null,a.c=!1)}function Uv(a){a.k||(Tv(a),a.d||(vi(),Ht(wi(null),a.b)));a.b.pb.style[Cd]="rect(auto, auto, auto, auto)";a.b.pb.style[Df]=Hg}
function Vv(a,b){var c,d,e,f,g,h;a.k||(b=1-b);c=f=e=g=0;d=G(b*a.e);h=G(b*a.f);switch(a.b.U.d){case 2:f=a.f;c=d;break;case 0:g=a.e-d>>1;e=a.f-h>>1;f=e+h;c=g+d;break;case 1:f=h,c=d}a.b.pb.style[Cd]="rect("+g+Kf+f+Kf+c+Kf+e+"px)"}
function Tt(a,b,c){a.d=c;dj(a);a.j&&(rj(a.j),a.j=null,Uv(a));a.b.hb=b;var d=a.b;d.eb&&(di(d.eb.b),d.eb=null);d._&&(di(d._.b),d._=null);if(d.hb){d.eb=rs(new Ov(d));var e;e=new Pv(d);xs();e=ys?Vp(ys.b,(!Up&&(Up=new Jj),Up),e):null;d._=e}c=!c&&a.b.ab;a.b.U!=(Zt(),$t)&&!b&&(c=!1);a.k=b;c?b?(Tv(a),a.b.pb.style[Ff]=bd,-1!=a.b.ib&&a.b.qd(a.b.cb,a.b.ib),a.b.pb.style[Cd]=Qf,vi(),b=wi(null),zt(b,a.b,b.pb),a.j=new Wv(a),xj(a.j,1)):sj(a,200):(Tv(a),a.k?(a.b.pb.style[Ff]=bd,-1!=a.b.ib&&a.b.qd(a.b.cb,a.b.ib),vi(),
b=wi(null),zt(b,a.b,b.pb)):a.d||(vi(),Ht(wi(null),a.b)),a.b.pb.style[Df]=Hg)}function au(a){var b=(zj(),Aj);this.n=new yj(this);this.t=b;this.b=a}s(323,17,{},au);_.jc=function(){Uv(this)};_.kc=function(){this.e=nn(this.b.pb,zf);this.f=nn(this.b.pb,Af);this.b.pb.style[Df]=Ee;Vv(this,(1+Math.cos(3.141592653589793))/2)};_.lc=function(a){Vv(this,a)};_.b=null;_.c=!1;_.d=!1;_.e=0;_.f=-1;_.i=null;_.j=null;_.k=!1;function Wv(a){Dj();this.b=a}s(324,24,{},Wv);_.nc=function(){this.b.j=null;sj(this.b,200)};
_.b=null;function ls(){ls=u;Xv()}function ms(a){return a.__gwt_resolve?a.__gwt_resolve():a}function uu(a){return function(){this.__gwt_resolve=Yv;return a.Uc()}}function Yv(){throw"A PotentialElement cannot be resolved twice.";}
function Xv(){function a(){}a.prototype={className:j,clientHeight:0,clientWidth:0,dir:j,getAttribute:function(a){return this[a]},href:j,id:j,lang:j,nodeType:1,removeAttribute:function(a){this[a]=void 0},setAttribute:function(a,c){this[a]=c},src:j,style:{},title:j};$wnd.GwtPotentialElementShim=a}function vi(){vi=u;Zv=new $v;aw=new Rh;pt=new dq}function bw(a){this.q=new Mt(this);this.pb=a;lt(this)}
function wi(a){vi();var b,c;c=ri(aw,a);b=null;if(null!=a&&!(b=$doc.getElementById(a)))return null;if(c&&(!b||c.pb==b))return c;if(0==aw.e){var d=new cw;Gj();Hj(Ij?Ij:Ij=new Jj,d)}!b?c=new dw:c=new bw(b);x(aw,a,c);eq(pt,c);return c}s(326,266,Ih,bw);var Zv,aw,pt;function $v(){}s(327,1,{},$v);_.sd=function(a){a.$c()&&a.ad()};function cw(){}s(328,1,{},cw);_.Ac=function(){vi();try{vt(pt,Zv)}finally{ew(pt.b),ew(aw)}};function dw(){bw.call(this,$doc.body)}s(329,326,Ih,dw);
_.kd=function(a,b,c){Kt(a,b-0,c-0)};function Rt(a){this.d=a;this.b=!!this.d.jb}s(330,1,{},Rt);_.Hc=function(){return this.b};_.Ic=function(){if(!this.b||!this.d.jb)throw new Ft;this.b=!1;return this.c=this.d.jb};_.Jc=function(){this.c&&this.d.dd(this.c)};_.c=null;_.d=null;function fw(a,b){a.pb[Eg]=null!=b?b:j}s(333,284,uh);_.Kc=function(a){0!=(os(a.type)&896)?nt(this,a):nt(this,a)};_.bd=function(){};function gw(){gw=u;hw()}s(332,333,uh);
function iw(){gw();var a=$doc.createElement("textarea");!Ir&&(Ir=new Hr);!Gr&&(Gr=new Fr);this.pb=a;this.pb[zd]="gwt-TextArea"}s(331,332,uh,iw);function jw(){var a;gw();var b=(a=$doc.createElement("INPUT"),a.type=pg,a);!Ir&&(Ir=new Hr);!Gr&&(Gr=new Fr);this.pb=b;this.pb[zd]="gwt-TextBox"}s(334,332,uh,jw);function hw(){hw=u;kw=new lw;mw=new nw;ow=new pw;qw=new rw;sw=D(tw,k,80,[kw,mw,ow,qw])}s(335,137,Tg);var sw,kw,mw,ow,qw;function lw(){tn.call(this,Jb,0)}s(336,335,Tg,lw);
function nw(){tn.call(this,bc,1)}s(337,335,Tg,nw);function pw(){tn.call(this,dc,2)}s(338,335,Tg,pw);function rw(){tn.call(this,zc,3)}s(339,335,Tg,rw);function uw(a,b){var c,d;c=$doc.createElement(zg);d=$doc.createElement(og);d[ed]=a.b.b;d.style[Fg]=a.c.b;var e=(ls(),ms(d));c.appendChild(e);ks(a.e,c);zt(a,b,d)}function vw(){su.call(this);this.b=(Lu(),Yu);this.c=(Zu(),bv);this.f[vd]=cb;this.f[ud]=cb}s(340,285,Ih,vw);_.dd=function(a){var b;b=qn(a.pb);(a=Dt(this,a))&&this.e.removeChild(qn(b));return a};
function ww(a,b){if(0>b||b>=a.d)throw new Ct;return a.b[b]}function Et(a,b){var c;for(c=0;c<a.d;++c)if(a.b[c]==b)return c;return-1}function At(a,b,c){var d,e;if(0>c||c>a.d)throw new Ct;if(a.d==a.b.length){e=v(xw,k,81,2*a.b.length,0);for(d=0;d<a.b.length;++d)Hq(e,d,a.b[d]);a.b=e}++a.d;for(d=a.d-1;d>c;--d)Hq(a.b,d,a.b[d-1]);Hq(a.b,c,b)}function Mt(a){this.c=a;this.b=v(xw,k,81,4,0)}s(341,1,{},Mt);_.gd=function(){return new Gt(this)};_.b=null;_.c=null;_.d=0;
function tt(a){if(a.b>=a.c.d)throw new Ft;return a.c.b[++a.b]}function ut(a){if(0>a.b||a.b>=a.c.d)throw new Uu;a.c.c.dd(a.c.b[a.b--])}function Gt(a){this.c=a}s(342,1,{},Gt);_.Hc=function(){return this.b<this.c.d-1};_.Ic=function(){return tt(this)};_.Jc=function(){ut(this)};_.b=-1;_.c=null;function mv(){mv=u;pv=(Er(),new Dr(Vm()+"clear.cache.gif"))}var pv,nv=null;function ov(){}s(344,1,{},ov);function yw(){yw=u;mv()}function zw(a,b,c,d,e){yw();this.e=a;this.c=b;this.d=c;this.f=d;this.b=e}
function Aw(a,b,c){yw();zw.call(this,(Er(),new Dr(a)),b,0,c,16)}s(345,278,{},zw,Aw);_.b=0;_.c=0;_.d=0;_.e=null;_.f=0;function yu(){var a;a=$doc.createElement(Zd);a.tabIndex=0;return a}function di(a){var b=a.b,c=a.e,d=a.d,a=a.c;0<b.c?Xp(b,new Kr(b,c,d,a)):kq(b,c,d,a)}function aq(a,b,c){this.b=a;this.e=b;this.d=null;this.c=c}s(351,1,{},aq);_.b=null;_.c=null;_.d=null;_.e=null;function Yp(a,b,c){this.b=a;this.e=b;this.d=null;this.c=c}s(352,1,{},Yp);_.hc=function(){Zp(this.b,this.e,this.d,this.c)};
_.b=null;_.c=null;_.d=null;_.e=null;function Kr(a,b,c,d){this.b=a;this.e=b;this.d=c;this.c=d}s(353,1,{},Kr);_.hc=function(){kq(this.b,this.e,this.d,this.c)};_.b=null;_.c=null;_.d=null;_.e=null;function Bw(a,b){b.n!=a&&(!a.Ub&&(a.Ub=new oi),b.n=a,hi(a.Ub,b))}function Cw(a){var b;b=a.cZ.e;if(-1!=gt(b,ht(36)))return null;a=a.Vb.c.c++;return b=ln(b,Dw(b,ht(46))+1)+j+a}function Ew(a,b,c,d){0==--a.Pb&&(a.$b!=a.Jd()&&(d|=4),!a.Zb&&(d|=2),0<d&&new Fw(a,b,c,jr(d)))}
function Gw(a){return!a.Lb&&a.Sb?Gw(a.Sb):a.Lb}function Hw(a){return!a.Nb&&a.Sb?Hw(a.Sb):a.Nb}function Iw(a){var b;b=new Jw;if(a.Jd()){for(;a&&!y(a,96);a=a.Sb)Kw(b,a.Fd(),a.Gd());y(a,96)&&Kw(b,a.Fd(),a.Gd());return b}throw new Lw;}function Mw(a){a.Wb=!1;a.Qd();Nw(a)}function Nw(a){if((a=y(a,96)?null:a.Sb)&&a.Wb)Mw(a),a.Hb&&y(a.Hb,91)&&(a.Hb.o=!1)}function Ow(a){return(a=a.yd())?a:new Pw(1,1)}function Qw(a){var b;return(b=a.zd())?new Rw(b):new Rw(a.Bd())}
function Sw(a){0==a.Pb++&&(a.$b=a.Jd(),a.Zb=!0,a.Od())}function Tw(a){return!a.Nb?(a.Id(),!0):!1}function K(a,b){var c;c=a.Lb;a.Lb=b;b==c||b&&y(c,86)&&c.b==b.b||a.Tb.We(b)}function Uw(a,b,c,d,e){var f,g,h,i;h=a._b;i=a.ac;g=a.Yb;f=a.Ob;a._b=b;a.ac=c;a.Yb=d;a.Ob=e;if(h!=a._b||i!=a.ac)Nw(a),new Vw(a,100);if(g!=a.Yb||f!=a.Ob)a.Id(),new Vw(a,101)}function Ww(a){a.Xb||(Sw(a),Xw(a,!0),Yw(a),a.Xb=!0,new Vw(a,102),Ew(a,a,a.Sb,0),Nw(a),a.Tb.Ze(a))}
function Zw(){this.Vb=(No(),No(),$w);new Rh;this.Hd();this.Rb=(ax(),bx)}s(357,1,Ug);_.vd=function(){return!1};_.wd=function(){return Cw(this)};_.xd=function(){return Gw(this)};_.yd=function(){return cx(this.Tb,this)};_.zd=function(){return this.yd()};_.Ad=function(){return this.Ob};_.Bd=function(){return this.Ld()};_.Cd=function(){return new dx(0,0,0,0)};_.Dd=function(){return this.Nd()};_.Ed=function(){return this.Yb};_.Fd=function(){return this._b};_.Gd=function(){return this.ac};_.Hd=function(){};
_.Id=function(){Mw(this)};_.Jd=function(){return this.Xb&&!!this.Sb&&this.Sb.Jd()};_.Kd=function(){};_.Ld=function(){return Ow(this)};_.Md=function(){return(null==this.Qb&&(this.Qb=this.wd()),this.Qb)+Ba+this.Fd()+Ba+this.Gd()+Ba+this.Ed()+Kg+this.Ad()+(this.Xb?j:",hidden")};_.Nd=function(){return Qw(this)};_.Od=function(){};_.Pd=function(){return Tw(this)};_.Qd=function(){var a=this.Tb;a.f.b=-1;a.f.c=-1};_.Rd=function(a,b){this.Sd(this._b,this.ac,a,b)};
_.Sd=function(a,b,c,d){this.Td(a,b,c,d,this.Mb,!0);this.Mb=0};_.Td=function(a,b,c,d){Uw(this,a,b,c,d)};_.tS=function(){return this.cZ.e+Xc+this.Md()+Zc};_.Ud=function(){this.Wb=!0};_.Lb=null;_.Mb=0;_.Nb=null;_.Ob=0;_.Pb=0;_.Qb=null;_.Rb=null;_.Sb=null;_.Tb=null;_.Ub=null;_.Wb=!1;_.Xb=!0;_.Yb=0;_.Zb=!1;_.$b=!1;_._b=0;_.ac=0;
function L(a,b,c){var d;if(-1>a.Gb.b.d)throw new Kj("Missing message: awt.12A");if(y(b,88)){if(b==a)throw new Kj("Missing message: awt.12B");a:{if(a&&!y(a,96))for(d=a.Sb;d;){if(d==b){d=!0;break a}if(y(d,96))break;d=d.Sb}d=!1}if(d)throw new Kj("Missing message: awt.12C");if(y(b,96))throw new Kj("Missing message: awt.12D");}if(b.Sb){d=b.Sb;if(!b)throw new Hm;var e=Ni(d.Gb.b,b),f;f=gs(d.Gb.b,e);d.Hb&&d.Hb.$d(f);ex(d,e);new fx(d,301,f)}d=a.Gb.b.d;Sw(b);gx(a.Gb.b,d,b);d=(b.Sb=a,b.Kd(!0),Mw(a),!!a.Hb&&
y(a.Hb,91)&&(a.Hb.o=!1),Ew(b,b,a,1),d);try{if(a.Hb)if(y(a.Hb,91)){var g=a.Hb;if(!b)throw new Wp("Missing message: awt.185");if(null==c||null!=c)hx(g,c,b);else throw new Kj("Missing message: awt.92");}else a.Hb.Wd(null==c?null:c,b)}catch(h){h=Zh(h);if(y(h,113))throw b=h,ex(a,d),b;throw h;}b.Qd();new fx(a,300,b)}function ix(a,b){var c;c=a.Vd();b.c+=c.c+c.d;b.b+=c.e+c.b;return b}function jx(a){var b;b=a.Vd();return new kx(b.c,b.e,a.Yb-b.d-b.c,a.Ob-b.e-b.b)}
function Xw(a,b){var c;for(c=a.Gb.b.d-1;0<=c;--c)gs(a.Gb.b,c).Kd(b)}function ex(a,b){var c;c=gs(a.Gb.b,b);Sw(c);c.Kd(!1);js(a.Gb.b,b);c.Sb=null;Mw(a);a.Hb&&y(a.Hb,91)&&(a.Hb.o=!1);Ew(c,c,a,1)}function lx(a){var b;b=(mx(),nx);b==a.Nb||b&&b==a.Nb||(a.Nb=b,Mw(a),a.Hb&&y(a.Hb,91)&&(a.Hb.o=!1),a.Tb.Xe(b));for(b=0;b<a.Gb.b.d;++b)gs(a.Gb.b,b).Pd()}
function ox(a,b){var c,d;if(a.Hb)for(d=new Th(a.Gb.b);d.c<d.e.ie();)c=Uh(d),a.Hb.$d(c);if(b)for(d=new Th(a.Gb.b);d.c<d.e.ie();)c=Uh(d),b.Wd(null,c);a.Hb=b;Mw(a);a.Hb&&y(a.Hb,91)&&(a.Hb.o=!1)}function Yw(a){if(!a.Wb){a.Hb&&a.Hb.Xd(a);var b,c;for(c=0;c<a.Gb.b.d;++c)b=gs(a.Gb.b,c),b.Wb||b.Ud();a.Wb=!0}}function px(){Zw.call(this);this.Gb=new qx;this.Kb=(No(),No(),$w)}s(356,357,dh);_.yd=function(){if(!this.Hb)return null;!this.Ib&&(this.Ib=this.Hb.Yd(this));return this.Ib};
_.zd=function(){if(!this.Hb)return null;!this.Jb&&(this.Jb=this.Hb.Zd(this));return this.Jb};_.Vd=function(){return this.Cd()};_.Bd=function(){return Ow(this)};_.Dd=function(){return Qw(this)};_.Hd=function(){this.Tb=(No(),new rx)};_.Id=function(){Mw(this);this.Hb&&y(this.Hb,91)&&(this.Hb.o=!1)};_.Kd=function(a){Xw(this,a)};_.Ld=function(){return Ow(this)};_.Nd=function(){return Qw(this)};_.Od=function(){var a;for(a=0;a<this.Gb.b.d;++a)Sw(gs(this.Gb.b,a))};
_.Pd=function(){var a;if(!Tw(this))return!1;for(a=0;a<this.Gb.b.d;++a)gs(this.Gb.b,a).Pd();return!0};_.Qd=function(){var a,b;this.Jb=this.Ib=null;for(b=0;b<this.Gb.b.d;++b)a=gs(this.Gb.b,b),a.Qd()};_.Ud=function(){Yw(this)};_.Hb=null;_.Ib=null;_.Jb=null;function sx(){var a=new tx;px.call(this);ox(this,a)}s(355,356,dh,sx);_.wd=function(){return"panel"+this.Kb.c.e++};function ux(a,b,c){a=vx(a.Fb,b,c);a.i=!0;return new wx(a)}function xx(a){return new Pw(nn(a.Fb.pb,Af),nn(a.Fb.pb,zf))}s(354,355,dh);
_.Ad=function(){return nn(this.Fb.pb,zf)};_.Ed=function(){return nn(this.Fb.pb,Af)};_.Fd=function(){return Yi(this.Fb.pb)};_.Gd=function(){return $i(this.Fb.pb)};_.Jd=function(){return this.Fb.pb.style.display!=tf};_.Rd=function(){};_.Fb=null;function yx(a){if(null!=a)this.f=a;else throw new zx;}s(359,1,Dh);_.tS=function(){return this.cZ.e+"[source="+this.f+Zc};_.f=null;
function Ax(){Ax=u;P=new Rh;x(P,new Q(400),new T);x(P,new Q(401),new T);x(P,new Q(402),new T);x(P,new Q(500),new T);x(P,new Q(501),new T);x(P,new Q(502),new T);x(P,new Q(503),new T);x(P,new Q(504),new T);x(P,new Q(505),new T);x(P,new Q(506),new T);x(P,new Q(507),new T);x(P,new Q(100),new T);x(P,new Q(101),new T);x(P,new Q(102),new T);x(P,new Q(103),new T);x(P,new Q(1004),new T);x(P,new Q(1005),new T);x(P,new Q(800),new T);x(P,new Q(801),new T);x(P,new Q(200),new T);x(P,new Q(201),new T);x(P,new Q(202),
new T);x(P,new Q(204),new T);x(P,new Q(203),new T);x(P,new Q(209),new T);x(P,new Q(208),new T);x(P,new Q(207),new T);x(P,new Q(206),new T);x(P,new Q(205),new T);x(P,new Q(1400),new T);x(P,new Q(1401),new T);x(P,new Q(1402),new T);x(P,new Q(300),new T);x(P,new Q(301),new T);x(P,new Q(1100),new T);x(P,new Q(1101),new T);x(P,new Q(1200),new T);x(P,new Q(701),new T);x(P,new Q(900),new T);x(P,new Q(1001),new T);x(P,new Q(601),new T)}s(358,359,Dh);_.Md=function(){return j};
_.tS=function(){var a;a=j;y(this.f,87)&&null!=this.f&&(a=this.f,a=(null==a.Qb&&(a.Qb=a.wd()),a.Qb),null==a&&(a=j));return this.cZ.e+Xc+this.Md()+"] on "+(0<a.length?a:this.f)};_.e=0;var P;function T(){}s(360,1,{},T);function Bx(a,b){var c;b&&(a.b?(c=new Cx(a.b),Hq(c.c,c.d++,b),a.b=c):(a.b=new oi,hi(a.b,b)))}s(362,1,Dh);_.b=null;function Dx(){}function Ex(){}s(361,362,Dh,Dx,Ex);
function Fx(){Fx=u;Gx=new dq;Hx=new Pw(0,0);eq(Gx,Gb);eq(Gx,Tb);eq(Gx,Bb);eq(Gx,"Last");eq(Gx,Lb);eq(Gx,oc);eq(Gx,Lc);eq(Gx,Vc);eq(Gx,Rb)}function hx(a,b,c){var d;if(null==b)d=Lb;else if(d=b,!Ts(Gx.b,b))throw new Kj(Ix());Jq(ri(a.d,d))===Jq(c)&&Jq(ri(a.c,c))===Jq(d)||((b=ri(a.d,d))&&Jx(a,b,d),Kx(a.b.gd(),c)&&Jx(a,c,d),b=a.b,new Lx(c,b.b.b),++b.c,x(a.c,c,d),x(a.d,d,c))}function Mx(a,b){return new Pw(Ti(b[1].c,Ti(b[2].c,b[4].c+b[0].c+b[3].c+a.f)),b[1].b+b[2].b+Ti(b[0].b,Ti(b[4].b,b[3].b))+a.n)}
function Jx(a,b,c){Nx(a.b,b);bi(a.c,b);bi(a.d,c)}function Ox(a,b){if(!a.o){a.o=!0;var c,d,e;Px(a.i,Hx);Px(a.j,Hx);Px(a.p,null);a.q=0;for(d=Qx(a.b,0);d.c!=d.e.b;){c=Rx(d);e=ri(a.c,c);var f=b.Rb;e=Qm(e,Lb)?0:Qm(e,oc)?1:Qm(e,Lc)?2:Qm(e,Vc)?4:Qm(e,Rb)?3:Qm(e,Gb)?f.b?4:3:Qm(e,Bb)?f.b?3:4:Qm(e,Tb)?1:2;c.Xb?a.p[e]||(Hq(a.p,e,c),++a.q,a.i[e]=c.Bd(),a.j[e]=c.Dd()):a.p[e]||(a.i[e]=c.Bd(),a.j[e]=c.Dd())}0!=a.q&&(c=-1,a.p[1]&&++c,a.p[2]&&++c,a.p[0]||a.p[4]||a.p[3]?(a.f=(a.q-c-2)*a.e,++c):a.f=0,a.n=c*a.k)}}
function Sx(){Fx();Tx.call(this,0)}function Tx(a){Fx();No();this.b=new Ux;this.c=new Rh;this.d=new Rh;this.e=a;this.k=0;this.o=!1;this.p=v(Vx,k,87,5,0);this.i=v(Wx,k,89,5,0);this.j=v(Wx,k,89,5,0);this.q=this.f=this.n=0}s(363,1,{91:1,106:1},Sx,Tx);_.Wd=function(a,b){hx(this,a,b)};
_.Xd=function(a){Ox(this,a);if(0!=this.q)if(a=jx(a),0>=a.c||0>=a.b){var b,c;for(c=0;5>c;++c)(b=this.p[c])&&b.Sd(a.d,a.e,0,0)}else{var d,e;b=a.d;e=a.e;this.p[1]&&(this.p[1].Rd(a.c,this.j[1].b),this.p[1].Td(a.d,a.e,a.c,this.j[1].b,2,!0),e+=this.j[1].b+this.k);c=a.b-this.j[1].b-this.j[2].b-this.n;c=0<c?c:0;this.p[4]&&(this.p[4].Rd(this.j[4].c,c),this.p[4].Td(a.d,e,this.j[4].c,c,2,!0),b+=this.j[4].c+this.e);d=a.c-this.j[4].c-this.j[3].c-this.f;this.p[0]&&this.p[0].Sd(b,e,0<d?d:0,c);this.p[2]&&(this.p[2].Rd(a.c,
this.j[2].b),this.p[2].Td(a.d,a.e+a.b-this.j[2].b,a.c,this.j[2].b,2,!0));this.p[3]&&(this.p[3].Rd(this.j[3].c,c),this.p[3].Td(a.d+a.c-this.j[3].c,e,this.j[3].c,c,2,!0))}};_.Yd=function(a){var b;b=this.o;Ox(this,a);this.o=b;return 0==this.q?ix(a,new Pw(0,0)):ix(a,Mx(this,this.i))};_.Zd=function(a){var b;b=this.o;Ox(this,a);this.o=b;return ix(a,Mx(this,this.j))};_.$d=function(a){var b;b=ri(this.c,a);null!=b&&Jx(this,a,b)};_.tS=function(){return Xx.e+"[hgap="+this.e+",vgap="+this.k+Zc};_.b=null;
_.c=null;_.d=null;_.e=0;_.f=0;_.i=null;_.j=null;_.k=0;_.n=0;_.o=!1;_.p=null;_.q=0;var Hx,Gx;function Yx(a){Zw.call(this);this.Tb=(No(),new Zx(a,this))}s(364,357,{84:1,87:1,92:1,103:1,106:1},Yx);_.wd=function(){return td+this.Vb.c.b++};_.yd=function(){return!Hw(this)?new Pw(0,0):cx(this.Tb,this)};_.Qd=function(){};s(366,1,{});s(365,366,{},function(){});function $x(){$x=u}
function ay(a,b){if(null==b)throw new Wp("Missing message: awt.103");var c=-1,d,e,f;f=a.Tb.b.pb;e=$doc.createElement(Cf);e.text=b;e.removeAttribute("bidiwrapped");e.value=b;d=f.options.length;(0>c||c>d)&&(c=d);c==d?f.add(e,null):(c=f.options[c],f.add(e,c))}function by(){$x();Zw.call(this);new oi;this.Tb=new cy((No(),this))}s(367,357,{85:1,87:1,92:1,103:1,106:1},by);_.yd=function(){return cx(this.Tb,this)};
_.Md=function(){return(null==this.Qb&&(this.Qb=Cw(this)),this.Qb)+Ba+this._b+Ba+this.ac+Ba+this.Yb+Kg+this.Ob+(this.Xb?j:",hidden")+",current="+Po(this.Tb.b,this.Tb.b.pb.selectedIndex)};function dy(){dy=u;ey=new fy(255,255,255);gy=new fy(192,192,192);hy=new fy(128,128,128);iy=new fy(64,64,64);jy=new fy(0,0,0);ky=new fy(255,0,0);new fy(255,175,175);ly=new fy(255,200,0);my=new fy(255,255,0);new fy(0,255,0);ny=new fy(255,0,255);oy=new fy(0,255,255);py=new fy(0,0,255)}
function qy(a){var b,c;c=a.b>>16&255;b=a.b&255;a=a.b>>8&255;if(0==c&&0==b&&0==a)return new fy(3,3,3);3>c&&0!=c?c=3:(c=G(c/0.7),c=255<c?255:c);3>b&&0!=b?b=3:(b=G(b/0.7),b=255<b?255:b);3>a&&0!=a?a=3:(a=G(a/0.7),a=255<a?255:a);return new fy(c,a,b)}function ry(a){return new fy(G(0.7*(a.b>>16&255)),G(0.7*(a.b>>8&255)),G(0.7*(a.b&255)))}function fy(a,b,c){dy();if((a&255)!=a||(b&255)!=b||(c&255)!=c)throw new Kj("Color parameter outside of expected range");this.b=c|b<<8|a<<16|-16777216}s(368,1,{86:1},fy);
_.eQ=function(a){return y(a,86)?a.b==this.b:!1};_.hC=function(){return this.b};_.tS=function(){return sy.e+"[r="+(this.b>>16&255)+",g="+(this.b>>8&255)+",b="+(this.b&255)+Zc};_.b=0;var jy,py,oy,iy,hy,gy,ny,ly,ky,ey,my;function ax(){ax=u;bx=new ty(!0);uy=new dq;eq(uy,"ar");eq(uy,"fa");eq(uy,"iw");eq(uy,"ur")}function ty(a){this.b=a}s(369,1,Dh,ty);_.b=!1;var bx,uy;s(371,1,{99:1,108:1});function vy(){Pw.call(this,0,0)}function Pw(a,b){this.c=a;this.b=b}function Rw(a){Pw.call(this,a.c,a.b)}
s(370,371,{89:1,99:1,106:1,108:1},vy,Pw,Rw);_.eQ=function(a){return a===this?!0:y(a,89)?a.c==this.c&&a.b==this.b:!1};_.hC=function(){var a;a=new wy;a.b=31*a.b+this.c;a.b=31*a.b+this.b;return a.b};_.tS=function(){return xy.e+"[width="+this.c+",height="+this.b+Zc};_.b=0;_.c=0;function rp(a,b,c){this.i=a;this.d=b;this.f=this.e=this.k=this.j=0;this.c=c}s(372,1,Dh,rp);_._d=function(){return 0!=(this.f&4)};_.ae=function(){return 0!=(this.f&1)};
_.tS=function(){var a;return this.cZ.e+"[id="+this.d+",x="+this.j+",y="+this.k+(0!=this.e?",key="+this.e+(a=j,this.ae()&&(a+=",shift"),0!=(this.f&2)&&(a+=",control"),this._d()&&(a+=",meta"),a):j)+",target="+this.i+(null!=this.c?",arg="+this.c:j)+Zc};_.c=null;_.d=0;_.e=0;_.f=0;_.i=null;_.j=0;_.k=0;function yy(a){var b,c;for(c=b=0;c<a.c.length;)a.c[c].Xb&&++b,++c;return b}
function zy(a,b,c,d,e,f,g){var h,i,l,d=d+a.d;switch(a.b){case 0:break;case 2:d+=c;break;case 1:d+=~~(c/2);break;case 4:d+=g?c:0;break;default:d+=g?0:c}l=b.d-1;for(i=0;i<=l;++i)c=(Bu(g?i:l-i,b.d),b.c[g?i:l-i]),h=c.Dd(),c.Sd(d,e+~~((f-h.b)/2),h.c,h.b),d+=h.c+a.d}function Ay(a,b){var c,d,e,f,g,h;h=a.d;g=0;for(d=a.c,e=0,f=d.length;e<f;++e)c=d[e],c.Xb&&(c=b?c.Dd():c.Bd(),g=Ti(g,c.b),h+=c.c+a.d);return new Pw(h,g+2*a.e)}function tx(){By.call(this,1,5,5)}
function By(a,b,c){No();this.d=b;this.e=c;this.b=a}s(373,1,Dh,tx,By);_.Wd=function(){};
_.Xd=function(a){this.c=Cy(a.Gb);if(0!=yy(this)){var b,c,d,e,f,g,h,i,l,m,n;b=jx(a);g=a.Vd();h=a.Rb.b;l=new oi;m=f=2*this.d;n=g.e+this.e;i=0;e=!0;var o,q,w;o=a.Gb.b.d;d=new Dy(o);for(w=0;w<o;++w)Hq(d.c,d.d++,null);for(c=this.c,o=0,w=c.length;o<w;++o)if(q=c[o],q.Sb==a){var F=d,z=Ni(a.Gb.b,q);Bu(z,F.d);Hq(F.c,z,q)}for(d=new Th(d);d.c<d.e.ie();)if((c=Uh(d))&&c.Xb)a=c.Dd(),!e&&m+a.c>b.c&&(zy(this,l,b.c-(m-this.d),g.c,n,i,h),l.c=v(Ey,k,0,0,0),l.d=0,m=f,n+=i+this.e,i=0),e=!1,Hq(l.c,l.d++,c),m+=a.c+this.d,
i=Ti(i,a.b);zy(this,l,b.c-(m-this.d),g.c,n,i,h)}};_.Yd=function(a){this.c=Cy(a.Gb);return 0==yy(this)?ix(a,new Pw(10,10)):ix(a,Ay(this,!1))};_.Zd=function(a){this.c=Cy(a.Gb);return 0==yy(this)?ix(a,new Pw(10,10)):ix(a,Ay(this,!0))};_.$d=function(){};_.tS=function(){var a;switch(this.b){case 0:a=Le;break;case 2:a=Tf;break;case 1:a=wd;break;case 4:a="trailing";break;default:a="leading"}return Fy.e+"[hgap="+this.d+",vgap="+this.e+",align="+a+Zc};_.b=0;_.c=null;_.d=0;_.e=0;
function mx(){mx=u;nx=new Gy(Pb,0,12)}function Gy(a,b,c){mx();this.b=null!=a?a:"Default";this.c=0<=c?c:0;this.d=0==(b&-4)?b:0}s(374,1,Dh,Gy);_.b=null;_.c=0;_.d=0;var nx;s(375,1,Dh);_.tS=function(){return Hy.e+"[font="+this.d+"ascent="+Iy(this.d).b+", descent="+Iy(this.d).c+", height="+Iy(this.d).d+Zc};_.d=null;function Jy(a){if(!a.j){Sw(a);a.od();var b,c;for(b=0;b<a.n.d;++b)(c=gs(a.n,b))&&Jy(c);Xw(a,!1);a.j=!0;Ew(a,a,a.Sb,0);new Ky(a,202)}}
function Ly(a){var b,c;a.Xb&&(a.Tb.od(),a.Xb=!1);for(b=0;b<a.n.d;++b)(c=gs(a.n,b))&&c.od()}function My(a){!Hw(a)&&lx(a);var b=Qw(a);a.Sd(a._b,a.ac,b.c,b.b);Yw(a)}function Ny(a,b){a.o!=b&&(a.o=b)}s(377,356,yh);_.Cd=function(){return new dx(this.k.e,this.k.c,this.k.b,this.k.d)};_.od=function(){Ly(this)};_.Jd=function(){return this.Tb.d.hb};_.Sd=function(a,b,c,d){Uw(this,a,b,c,d);this.Mb=0};_.Td=function(a,b,c,d,e,f){e=c!=this.Yb||d!=this.Ob;Uw(this,a,b,c,d);this.Xb&&e&&!f&&Yw(this)};_.j=!1;_.o=!1;
function Oy(a){px.call(this);this.p=new Ex;this.n=new oi;this.k=new dx(0,0,0,0);this.Xb=!1;ox(this,new Sx);this.Tb&&Py(this.Tb.d.I.c,a);this.Tb&&Qy(this.Tb.d,!0);Ny(this,!0)}s(376,377,yh);_.Vd=function(){return new dx(this.k.e,this.k.c,this.k.b,this.k.d)};_.Fd=function(){return Yi(this.Tb.d.pb)};_.Gd=function(){return $i(this.Tb.d.pb)};_.Hd=function(){this.Tb=new Ry((No(),j),this)};
function Sy(a,b,c,d,e,f){var g,h;g=a.d;f?(h=qy(g),f=new fy(G(0.7*(g.b>>16&255)),G(0.7*(g.b>>8&255)),G(0.7*(g.b&255))),(a.d=g)&&(a.e=Sf+(g.b>>16&255)+Ba+(g.b>>8&255)+Ba+(g.b&255)+ya)):(h=new fy(G(0.7*(g.b>>16&255)),G(0.7*(g.b>>8&255)),G(0.7*(g.b&255))),f=qy(g),(a.d=h)&&(a.e=Sf+(h.b>>16&255)+Ba+(h.b>>8&255)+Ba+(h.b&255)+ya));--d;--e;Ty(a,b+1,c+1,d-1,e-1);(a.d=h)&&(a.e=Sf+(h.b>>16&255)+Ba+(h.b>>8&255)+Ba+(h.b&255)+ya);Ty(a,b,c,d,1);Ty(a,b,c+1,1,e);(a.d=f)&&(a.e=Sf+(f.b>>16&255)+Ba+(f.b>>8&255)+Ba+(f.b&
255)+ya);Ty(a,b+d,c,1,e);Ty(a,b+1,c+e,d,1)}s(378,1,{});_.tS=function(){return"Graphics"};function Uy(a){var b,c;c=Ti(0,a.e);0==c?(b=a.b,c=~~(a.c.length/b),0<a.c.length%b&&++c):(c=a.e,b=~~(a.c.length/c),0<a.c.length%c&&++b);return new Pw(b,c)}function Vy(a,b,c){var d,e,f,g,h,i;a.c=Cy(b.Gb);if(0==a.c.length)return new vy;g=Uy(a);h=i=0;for(e=a.c,b=0,f=e.length;b<f;++b)d=e[b],d=c?d.Dd():d.Bd(),i=Ti(i,d.c),h=Ti(h,d.b);return new Pw(i*g.c+a.d*(g.c-1),h*g.b+a.f*(g.b-1))}
function Wy(a,b,c,d,e){var f,g,h,i;h=d.length;a-=(h-1)*c;for(g=0,i=0;g<h;++g,b+=c)f=G(a*((g+1)/h))-i,d[g]=f,e[g]=i+b,i+=f}function Xy(){Yy.call(this,7)}function Yy(a){No();this.e=0;this.b=1;this.f=a;this.d=0}s(379,1,Dh,Xy,Yy);_.Wd=function(){};
_.Xd=function(a){var b,c;this.c=Cy(a.Gb);if(0!=this.c.length&&(b=jx(a),!(0>=b.c||0>=b.b))){c=Uy(this);var d=c.c;c=c.b;var a=a.Rb.b,e,f,g,h,i,l,m;f=v(E,r,-1,d,1);e=v(E,r,-1,d,1);i=v(E,r,-1,c,1);l=v(E,r,-1,c,1);Wy(b.c,b.d,this.d,f,e);Wy(b.b,b.e,this.f,i,l);b=0;h=0;a:for(;b<c;++b)for(g=0;g<d;++g)if(m=a?g:d-g-1,this.c[h].Sd(e[m],l[b],f[m],i[b]),++h==this.c.length)break a}};_.Yd=function(a){return ix(a,Vy(this,a,!1))};_.Zd=function(a){return ix(a,Vy(this,a,!0))};_.$d=function(){};
_.tS=function(){return Zy.e+"[hgap="+this.d+",vgap="+this.f+",rows="+this.e+",cols="+this.b+Zc};_.b=0;_.c=null;_.d=0;_.e=0;_.f=0;function Uu(){Km()}function mt(a){Km();this.i=a}s(381,97,Zg,Uu,mt);function Lw(){Km();this.i="Missing message: awt.151"}s(380,381,Zg,Lw);s(382,1,{});function dx(a,b,c,d){this.e=a;this.c=b;this.b=c;this.d=d}s(383,1,{90:1,106:1,108:1},dx);_.eQ=function(a){return a===this?!0:y(a,90)?a.c==this.c&&a.b==this.b&&a.d==this.d&&a.e==this.e:!1};
_.hC=function(){var a;a=31+this.e;a=31*a+this.c;a=31*a+this.b;return a=31*a+this.d};_.tS=function(){return $y.e+"[left="+this.c+",top="+this.e+",right="+this.d+",bottom="+this.b+Zc};_.b=0;_.c=0;_.d=0;_.e=0;function az(a){bz.call(this,a,0)}function bz(a,b){Zw.call(this);this.Tb=(No(),new cz(a));this.b=b;var c=this.Tb;switch(b){case 1:var c=c.b,d=(Lu(),Wu);c.b=d;Iu(c);break;case 0:c=c.b;d=(Lu(),Mu);c.b=d;Iu(c);break;case 2:c=c.b,d=(Lu(),Nu),c.b=d,Iu(c)}}s(384,357,Ug,az,bz);
_.yd=function(){return!Hw(this)?new Pw(0,0):cx(this.Tb,this)};_.Md=function(){var a=(null==this.Qb&&(this.Qb=Cw(this)),this.Qb)+Ba+this._b+Ba+this.ac+Ba+this.Yb+Kg+this.Ob+(this.Xb?j:",hidden")+",align=",b;b=Le;switch(this.b){case 1:b=wd;break;case 2:b=Tf}return a+b+",text=null"};_.b=0;s(387,1,Dh);_.Md=function(){return this.k};_.tS=function(){return this.cZ.e+Xc+this.Md()+Zc};_.k=null;_.n=null;
function dz(a){var b;b=a.k+",label="+a.i;a.f||(b+=",disabled");null!=a.d&&(b+=",command="+a.d);return b}function ez(a){this.o=(No(),No(),$w);var b;var c;b=this.cZ.e;-1!=gt(b,ht(36))?b=null:(c=this.o.c.d++,b=ln(b,Dw(b,ht(46))+1)+j+c);this.k=b;this.e=new Dx;this.i=a;this.f=!0;this.j=new fz(this)}s(386,387,Dh,ez);_.Md=function(){return dz(this)};_.d=null;_.f=!1;_.i=null;_.j=null;s(385,386,Kh);_.Md=function(){return dz(this)+(this.c?",tearOff":j)};_.c=!1;s(389,1,{100:1});
_.eQ=function(a){return a===this?!0:y(a,100)?this.b==a.b&&this.c==a.c:!1};_.hC=function(){var a;a=new wy;gz(a,this.b);gz(a,this.c);return a.b};function Kw(a,b,c){a.b+=b;a.c+=c}function Jw(){this.c=this.b=0}function hz(a,b){this.b=a;this.c=b}function iz(a){var b=a.c;this.b=a.b;this.c=b}s(388,389,{93:1,100:1,106:1},Jw,hz,iz);_.eQ=function(a){return a===this?!0:y(a,93)?this.b==a.b&&this.c==a.c:!1};_.tS=function(){return jz.e+"[x="+this.b+",y="+this.c+Zc};_.b=0;_.c=0;
function kz(a,b){if(!b)throw new Wp("Missing message: awt.70");var c=a.b;if(C(b.i,Da)){var c=c.b.b,d=new Mv,e=c.d.d;if(0>e||e>c.d.d)throw new Ct;c.p&&(d.pb[Hd]=2);uv(c,e,d.pb);gx(c.d,e,d)}else{var d=c.b.b,c=b.j.b,e=d.d.d,f,g;if(0>e||e>d.d.d)throw new Ct;gx(d.d,e,c);for(f=g=0;f<e;++f)y(gs(d.d,f),72)&&++g;gx(d.j,g,c);uv(d,e,c.pb);c.c=d;e=ft(c.pb)+Xa;Vh(c.Sc(),e,!1);d.p&&(e=Ni(d.d,c),-1!=e&&(d=Qs(d.p?d.f:Qs(d.f,0),e),2==Rs(d)&&d.removeChild(Qs(d,1)),c.pb[Hd]=2))}}
function lz(){ez.call(this,j);new oi;this.c=!1;this.b=(No(),new mz)}s(390,385,Kh,lz);_.b=null;s(393,1,{95:1,102:1,108:1});s(392,393,{95:1,101:1,102:1,108:1});_.eQ=function(a){return a===this?!0:y(a,101)?this.d==a.d&&this.e==a.e&&this.c==a.c&&this.b==a.b:!1};_.hC=function(){var a;a=new wy;gz(a,this.d);gz(a,this.e);gz(a,this.c);gz(a,this.b);return a.b};function kx(a,b,c,d){this.d=a;this.e=b;this.b=d;this.c=c}s(391,392,{94:1,95:1,101:1,102:1,106:1,108:1},kx);
_.eQ=function(a){return a===this?!0:y(a,94)?a.d==this.d&&a.e==this.e&&a.c==this.c&&a.b==this.b:!1};_.tS=function(){return nz.e+"[x="+this.d+",y="+this.e+",width="+this.c+",height="+this.b+Zc};_.b=0;_.c=0;_.d=0;_.e=0;s(394,357,Ug);_.xd=function(){return null};function oz(a,b){var c;c=new pz(Hw(a));return!c?null:new Pw(qz(c,"_")*b+6,Iy(c.d).d+6)}function rz(a,b){var c;c=oz(a,b);return!c?Ow(a):c}function sz(a,b){var c;c=oz(a,b);return!c?Qw(a):c}
function tz(a,b){var c=a.Tb;fw(c.b,b);c.f.b=-1;c.f.c=-1}function uz(a){vz.call(this,a,null!=a?a.length:0)}function vz(a,b){Zw.call(this);this.b=0>b?0:b;var c=this.Tb;fw(c.b,a);c.f.b=-1;c.f.c=-1}s(395,394,Ug,uz,vz);_.wd=function(){return"textfield"+this.Vb.c.f++};_.yd=function(){return oz(this,on(this.Tb.b.pb,Eg).length)};_.zd=function(){return!Hw(this)?null:oz(this,on(this.Tb.b.pb,Eg).length)};_.Bd=function(){return 0<this.b?rz(this,this.b):Ow(this)};
_.Dd=function(){return 0<this.b?sz(this,this.b):Qw(this)};_.Hd=function(){this.Tb=(No(),new wz)};_.Ld=function(){return 0<this.b?rz(this,this.b):Ow(this)};_.Nd=function(){return 0<this.b?sz(this,this.b):Qw(this)};_.b=0;function No(){No=u;$w=new xz}function vp(){var a=(No(),No(),$w);!a.d&&(a.d=new yz)}function xz(){this.c=new zz}s(396,1,{},xz);_.b=null;_.d=null;var $w;function zz(){}s(397,1,{},zz);_.b=0;_.c=0;_.d=0;_.e=0;_.f=0;s(398,1,{});function Az(){Az=u;Bz=new Cz;Dz=new Cz}
function Ez(a,b){return b==a?!0:!b?!1:!0}function Cz(){}s(399,1,{97:1},Cz);_.eQ=function(a){return null==a||!y(a,97)?!1:Ez(this,a)};_.hC=function(){var a;a=null.kf()+";class="+null.kf();a=!null.kf().kf()?a:a+";charset=";return ur(a)};_.tS=function(){return Fz.e+"[MimeType=(null);humanPresentableName="+this.b+Zc};_.b=null;var Bz,Dz;function Gz(){Gz=u;D(Hz,k,97,[(Az(),Dz),Bz])}function Iz(a){Gz();this.b=a}s(400,1,{},Iz);_.b=null;function Jz(a){a="flavor = "+a;Km();this.i=a}
s(401,98,{98:1,106:1,112:1,119:1},Jz);function Kz(a,b){Ax();yx.call(this,a);this.e=0;this.b=b;this.d=Ng;this.c=0}s(402,358,Dh,Kz);_.Md=function(){var a,b;a=1001==this.e?"ACTION_PERFORMED":"unknown type";b=j;0<(this.c&1)&&(b+="Shift");0<(this.c&2)&&(b+=0==b.length?"Ctrl":"+Ctrl");0<(this.c&4)&&(b+=0==b.length?"Meta":"+Meta");0<(this.c&8)&&(b+=0==b.length?"Alt":"+Alt");return a+",cmd="+this.b+",when="+or(this.d)+",modifiers="+b};_.b=null;_.c=0;_.d=Ng;function Vw(a,b){Ax();yx.call(this,a);this.e=b}
s(403,358,Dh,Vw);_.Md=function(){var a,b;a=this.f;switch(this.e){case 100:b="COMPONENT_MOVED";break;case 101:b="COMPONENT_RESIZED";break;case 102:return"COMPONENT_SHOWN";case 103:return"COMPONENT_HIDDEN";default:return"unknown type"}return b+" ("+a.Fd()+Ba+a.Gd()+ca+a.Ed()+Kg+a.Ad()+ya};function fx(a,b,c){Ax();Vw.call(this,a,b);this.b=c}s(404,403,Dh,fx);
_.Md=function(){var a;switch(this.e){case 300:a="COMPONENT_ADDED";break;case 301:a="COMPONENT_REMOVED";break;default:a="unknown type"}a+=",child=";var b=this.b;null==b.Qb&&(b.Qb=b.wd());return a+b.Qb};_.b=null;function Fw(a,b,c,d){Ax();yx.call(this,a);this.e=1400;this.c=b;this.d=c;this.b=d}s(405,358,Dh,Fw);
_.Md=function(){var a;switch(this.e){case 1400:a="HIERARCHY_CHANGED";break;case 1401:a="ANCESTOR_MOVED";break;case 1402:a="ANCESTOR_RESIZED";break;default:a="unknown type"}a+=" (";1400==this.e&&(mr(fr(this.b,Og))&&(a+="PARENT_CHANGED,"),mr(fr(this.b,Pg))&&(a+="DISPLAYABILITY_CHANGED,"),mr(fr(this.b,Rg))&&(a+="SHOWING_CHANGED,"));return a+"changed="+this.c+",changedParent="+this.d+ya};_.b=Ng;_.c=null;_.d=null;s(406,1,{});function Ky(a,b){Ax();Vw.call(this,a,b);this.d=null;this.b=this.c=0}
s(407,403,Dh,Ky);
_.Md=function(){var a;switch(this.e){case 200:a="WINDOW_OPENED";break;case 201:a="WINDOW_CLOSING";break;case 202:a="WINDOW_CLOSED";break;case 203:a="WINDOW_ICONIFIED";break;case 204:a="WINDOW_DEICONIFIED";break;case 205:a="WINDOW_ACTIVATED";break;case 206:a="WINDOW_DEACTIVATED";break;case 207:a="WINDOW_GAINED_FOCUS";break;case 208:a="WINDOW_LOST_FOCUS";break;case 209:a="WINDOW_STATE_CHANGED";break;default:a="unknown type"}return a+",opposite="+this.d+",oldState="+this.c+",newState="+this.b};_.b=0;
_.c=0;_.d=null;s(408,1,{});function Lz(a){if(null==a)throw new Hm;}s(409,408,{},Lz);
function Mz(){Mz=u;Nz={};Nz["java.vendor"]=qe;Nz["package.restrict.access.sun"]=Dg;Nz["sun.java.launcher"]=kc;Nz["sun.management.compiler"]=qe;Nz["os.name"]=kc;Nz[" sun.boot.class.path"]=kc;Nz["path.separator.applet"]=kc;Nz["java.vm.specification.vendor"]=qe;Nz["java.runtime.version"]=kc;Nz["http.proxyPort"]=kc;Nz["user.name"]=kc;Nz["user.language"]=kc;Nz["os.name.applet"]=kc;Nz["browser.version"]=kc;Nz["java.version"]=kc;Nz["user.timezone"]=kc;Nz["java.endorsed.dirs"]=kc;Nz["java.specification.name"]=
"GWT";Nz["java.specification.version"]="2.5.0";Nz[He]=cc}var Nz;s(412,98,vh);function Oz(){Km()}function Pz(a){Km();this.i=a}s(411,412,{104:1,106:1,112:1,119:1},Oz,Pz);function Qz(){Qz=u;Rz=new Sz}function Tz(a){var b;if(a.n){var c;b=new sr;Em(b.b,a.i);b.b.b+=nb;c=a.b;null!=c&&0<c.length&&(b.b.b+=$a,Em(b.b,a.b));c=a.c;a=a.k;null!=c&&Em(b.b,c);null!=a&&(b.b.b+=na,Em(b.b,a));b=b.b.b}else b="unknown protocol("+a.i+")://"+a.d+a.c;return b}
function Uz(a){Qz();var b,c,d;if(null==a)throw new Oz;a=kn(a);try{d=gt(a,ht(58))}catch(e){e=Zh(e);if(y(e,115))throw new Pz(Im(e));throw e;}c=gt(a,ht(91));if(0<=d&&(-1==c||d<c)){this.i=a.substr(0,d-0);b=this.i.charCodeAt(0);b=97<=b&&122>=b||65<=b&&90>=b;for(c=1;b&&c<this.i.length;++c)b=this.i.charCodeAt(c),b=97<=b&&122>=b||65<=b&&90>=b||48<=b&&57>=b||43==b||45==b||46==b;if(b){c=this.i;Vz();var f,g,h;h=c.length;b=new Wz;for(g=0;g<h;++g){f=c.charCodeAt(g);if(65<=f&&90>=f){var i=b.b;f=String.fromCharCode(f+
32&65535)}else i=b.b,f=String.fromCharCode(f);i.b+=f}this.i=b.b.b}else this.i=null,d=-1}if(null==this.i)throw new Pz($b+a);if(!this.n&&(this.n=ri(Rz,this.i),this.n||(this.n=(No(),new Xz))&&x(Rz,this.i,this.n),!this.n))throw new Pz($b+a);try{c=a;var l=++d,m=a.length,n,o,q,w,F,z,J,N,S,$,M,fc,xc,Lf,lb,Dd,Ed,Fd,Sa,yc,wb;if(m<l||0>m){if(-2147483647>=m&&(l>=c.length||0>l)||!(0>l||l>=c.length)&&c.indexOf($a,l)==l&&-1==Yz(c,ht(47),l+2))throw new Zz(m);}else{M=c.substr(l,m-l);m-=l;z=0;J=this.d;fc=this.f;Fd=
this.k;w=this.e;lb=this.j;n=this.b;wb=this.o;Sa=Yz(M,ht(35),0);if(0==M.indexOf($a)&&0!=M.indexOf("////")){S=2;fc=-1;z=Yz(M,ht(47),2);Ed=Yz(M,ht(63),2);-1!=Ed&&(-1==z||z>Ed)&&(z=Ed);-1==z&&(z=m,w=j);N=z;-1!=Sa&&Sa<z&&(N=Sa);var kd=ht(64);yc=M.lastIndexOf(kd,N);n=M.substr(2,N-2);-1<yc&&(wb=M.substr(2,yc-2),S=yc+1);xc=Yz(M,ht(58),-1==yc?S:yc);q=gt(M,ht(93));if(-1!=q)try{M.length>q+1?(o=M.charCodeAt(q+1),58==o?xc=q+1:xc=-1):xc=-1}catch(We){if(We=Zh(We),!y(We,112))throw We;}-1==xc||xc>z?J=M.substr(S,N-
S):(J=M.substr(S,xc-S),Lf=M.substr(xc+1,N-(xc+1)),0==Lf.length?fc=-1:fc=$z(Lf,10))}-1<Sa&&(Fd=M.substr(Sa+1,m-(Sa+1)));F=-1==Sa?m:Sa;var Ub=ht(63);Dd=M.lastIndexOf(Ub,F);-1<Dd?(lb=M.substr(Dd+1,F-(Dd+1)),0==Dd&&null!=w&&(C(w,j)?w=Za:w.indexOf(Za),$=Dw(w,ht(47))+1,w=w.substr(0,$-0)),F=Dd):0!=Sa&&(lb=null);-1<z&&(z<m&&47==M.charCodeAt(z)?w=M.substr(z,F-z):F>z&&(null==w?w=j:C(w,j)?w=Za:w.indexOf(Za),$=Dw(w,ht(47))+1,0==$?w=M.substr(z,F-z):w=w.substr(0,$-0)+M.substr(z,F-z)));null==w&&(w=j);null==J&&(J=
j);d=J;var pe;pe=w;null!=lb&&!C(lb,j)&&(null!=w?pe=w+ub+lb:pe=ub+lb);null==this.i&&(this.i=this.i);this.d=d;this.c=pe;this.f=fc;this.k=Fd;var ld;null!=this.d&&0<this.d.length&&(this.b=this.d,-1!=this.f&&(this.b=this.b+nb+this.f));null!=this.d&&-1<(ld=Dw(this.d,ht(64)))?(this.o=this.d.substr(0,ld-0),this.d=ln(this.d,ld+1)):this.o=null;null!=this.c&&-1<(ld=gt(this.c,ht(63)))?(this.j=ln(this.c,ld+1),this.e=this.c.substr(0,ld-0)):(this.j=null,this.e=this.c);this.b=n;this.o=wb;this.e=w;this.j=lb}}catch(md){md=
Zh(md);if(y(md,112))throw new Pz(Im(md));throw md;}if(-1>this.f)throw new Pz("incorrect port: "+this.f);}s(413,1,Dh,Uz);_.tS=function(){return Tz(this)};_.b=null;_.c=null;_.d=null;_.e=null;_.f=-1;_.i=null;_.j=null;_.k=null;_.n=null;_.o=null;var Rz;s(414,1,{});function aA(a,b,c){var d,e;for(d=new bA(a.de().b);cA(d.b);)if(a=d.c=Uh(d.b),e=a.He(),null==b?null==e:Qm(b,e))return c&&dA(d),a;return null}s(418,1,zh);_.ce=function(a){return!!aA(this,a,!1)};
_.eQ=function(a){var b,c;if(a===this)return!0;if(!y(a,122)||this.ie()!=a.ie())return!1;for(a=new bA(a.de().b);cA(a.b);)if(b=a.c=Uh(a.b),c=b.He(),b=b.Ie(),!this.ce(c)||!eA(b,this.ee(c)))return!1;return!0};_.ee=function(a){a=aA(this,a,!1);return!a?null:a.Ie()};_.hC=function(){var a,b,c;c=0;for(b=new bA(this.de().b);cA(b.b);)a=b.c=Uh(b.b),c+=a.hC(),c=~~c;return c};_.fe=function(){return 0==this.ie()};_.ge=function(){throw new fA("Put not supported on this map");};
_.he=function(a){a=aA(this,a,!0);return!a?null:a.Ie()};_.ie=function(){return this.de().b.e};_.tS=function(){var a,b,c,d;d="{";a=!1;for(c=new bA(this.de().b);cA(c.b);)b=c.c=Uh(c.b),a?d+=Ca:a=!0,d+=j+b.He(),d+=sb,d+=j+b.Ie();return d+"}"};function ew(a){a.b=[];a.f={};a.d=!1;a.c=null;a.e=0}function Ts(a,b){var c;if(null==b)c=a.d;else if(y(b,1))c=nb+b in a.f;else a:{c=a.le(b);if(c=a.b[c])for(var d=0,e=c.length;d<e;++d)if(a.ke(b,c[d].He())){c=!0;break a}c=!1}return c}
function ri(a,b){var c;if(null==b)c=a.c;else if(y(b,1))c=a.f[nb+b];else a:{c=a.le(b);if(c=a.b[c])for(var d=0,e=c.length;d<e;++d){var f=c[d];if(a.ke(b,f.He())){c=f.Ie();break a}}c=null}return c}function x(a,b,c){if(null==b)c=gA(a,c);else if(y(b,1))c=hA(a,b,c);else a:{var d=a.le(b),e=a.b[d];if(e)for(var f=0,g=e.length;f<g;++f){if(d=e[f],a.ke(b,d.He())){a=d.Ie();d.Je(c);c=a;break a}}else e=a.b[d]=[];d=new iA(b,c);e.push(d);++a.e;c=null}return c}
function gA(a,b){var c;c=a.c;a.c=b;a.d||(a.d=!0,++a.e);return c}function hA(a,b,c){var d,e=a.f,b=nb+b;b in e?d=e[b]:++a.e;e[b]=c;return d}function bi(a,b){var c;if(null==b)c=a.c,a.c=null,a.d&&(a.d=!1,--a.e);else if(y(b,1)){var d,e=a.f;c=nb+b;c in e&&(d=e[c],--a.e,delete e[c]);c=d}else a:{c=a.le(b);if(d=a.b[c])for(var e=0,f=d.length;e<f;++e){var g=d[e];if(a.ke(b,g.He())){1==d.length?delete a.b[c]:d.splice(e,1);--a.e;c=g.Ie();break a}}c=null}return c}s(417,418,zh);_.ce=function(a){return Ts(this,a)};
_.de=function(){return new jA(this)};_.ke=function(a,b){return this.je(a,b)};_.ee=function(a){return ri(this,a)};_.ge=function(a,b){return x(this,a,b)};_.he=function(a){return bi(this,a)};_.ie=function(){return this.e};_.b=null;_.c=null;_.d=!1;_.e=0;_.f=null;function Rh(){ew(this)}s(416,417,Yg,Rh);_.je=function(a,b){return Jq(a)===Jq(b)||null!=a&&Qm(a,b)};_.le=function(a){return~~Tm(a)};function Sz(){ew(this)}s(415,416,Yg,Sz);function kA(){Km()}s(419,97,Zg,kA);
function lA(a){var b,c;b=0;for(c=a.b;c<a.j;){c=mA(a,c);if(c>=a.j)break;c=nA(a,c);++b}return b}function oA(a,b){var c;for(c=0;c<a.c.length;++c)if(a.c[c]==b)return!0;return!1}function pA(a){var b;a.b=0<=a.k&&!a.e?a.k:mA(a,a.b);a.e=!1;a.k=-1;if(a.b>=a.j)throw new kA;b=a.b;a.b=nA(a,a.b);return a.o.substr(b,a.b-b)}
function nA(a,b){var c,d;for(d=b;d<a.j;)if(a.f){c=qA(a.o,d);if(c<=a.i&&oA(a,c))break;d+=65536<=c?2:1}else{c=a.o.charCodeAt(d);if(c<=a.i&&0<=gt(a.d,ht(c)))break;++d}a.n&&b==d&&(a.f?(c=qA(a.o,d),c<=a.i&&oA(a,c)&&(d+=65536<=c?2:1)):(c=a.o.charCodeAt(d),c<=a.i&&0<=gt(a.d,ht(c))&&++d));return d}function mA(a,b){var c,d;if(null==a.d)throw new Hm;for(d=b;!a.n&&d<a.j;)if(a.f){c=qA(a.o,d);if(c>a.i||!oA(a,c))break;d+=65536<=c?2:1}else{c=a.o.charCodeAt(d);if(c>a.i||0>gt(a.d,ht(c)))break;++d}return d}
function rA(a){sA.call(this,a," \t\n\r\u000c",!1)}function tA(a){sA.call(this,a,Ba,!1)}function sA(a,b,c){this.b=0;this.k=-1;this.e=!1;this.o=a;this.j=a.length;this.d=b;this.n=c;var d;if(null==this.d)this.i=0;else{for(c=b=d=0;c<this.d.length;c+=65536<=a?2:1)a=this.d.charCodeAt(c),55296<=a&&57343>=a&&(a=qA(this.d,c),this.f=!0),d<a&&(d=a),++b;this.i=d;if(this.f){this.c=v(E,r,-1,b,1);for(c=0,d=0;c<b;++c,d+=65536<=a?2:1)a=qA(this.d,d),this.c[c]=a}}}s(420,1,{},rA,tA,sA);_.b=0;_.c=null;_.d=null;_.e=!1;
_.f=!1;_.i=0;_.j=0;_.k=0;_.n=!1;_.o=null;function uA(a){vA.call(this,a,-1,-1,null)}function wA(a,b,c){vA.call(this,a,b,c,null)}
function vA(a,b,c,d){var e;if(null==a)$wnd.alert("JSME initialization error: HTML id argument is null.");else if(e=wi(a)){this.b=new xA;this.c=new yA(this.b,b,c,d);zt(e,this.c,e.pb);d&&fd in d&&(this.c.c=d[fd]);var a=this.c,b=a.d,f,g,h,i,l,m;b.J?zA="JSME":(zA="JME",b.C+=2);b.u=AA(b,!1);b.v=AA(b,!0);xp(b,zA+" Molecular Editor by Peter Ertl and Bruno Bienfait");b.A=xx(b);ox(b,null);b.kb||(b.Q=0);b.R||(b.R=new Gy(Yb,0,b.C),b.U=new pz(b.R));b.S||(b.S=new Gy(Yb,1,b.C),b.T=new pz(b.S));c=b.C-2;b.V||(b.V=
new Gy(Yb,0,c),b.W=new pz(b.V));b.k||(b.k=new Gy(Yb,0,b.C),b.n=new pz(b.k));b.qb=!0;b.tb=!1;b.p=!1;b.Ab=!0;b.r=!0;b.sb=!1;BA=10;b.xb=!0;try{m=CA(b.Fb,"options");null!=m&&DA(b,m);h=CA(b.Fb,"jme");null!=h&&(b.K=h);i=CA(b.Fb,"mol");null!=i&&(b._=i);g=CA(b.Fb,"depictcgi");null!=g&&(b.ub=!0);l=CA(b.Fb,pg);null!=l&&(b.ab=l,EA(b));b.j=CA(b.Fb,"atomcolors");b.i=CA(b.Fb,"atombg");f=CA(b.Fb,"depictbg");if(null!=f&&b.x){var n;var o,q,w,F;q=(dy(),ey);try{if(0!=f.indexOf(na))throw new Jm("bad hex encoding");F=
$z(f.substr(1,2),16);w=$z(f.substr(3,2),16);o=$z(f.substr(5,2),16);n=q=new fy(F,w,o)}catch(z){if(z=Zh(z),y(z,112))Mz(),n=q;else throw z;}b.s=n}b.wb&&b.Y&&FA(b.Y)}catch(J){if(J=Zh(J),!y(J,112))throw J;}b.c=202;for(f=0;23>f;++f)GA[f]=(dy(),ly),HA[f]=Wc;HA[1]=Xb;GA[1]=(dy(),iy);HA[2]=Eb;GA[2]=ly;HA[3]=Ib;GA[3]=iy;HA[4]=gc;GA[4]=py;HA[5]=qc;GA[5]=ky;HA[9]=Sb;GA[9]=ny;HA[10]=Mb;GA[10]=ny;HA[11]=Hb;GA[11]=ny;HA[12]=Zb;GA[12]=ny;HA[8]=Hc;GA[8]=ry(my);HA[7]=sc;GA[7]=ly;HA[6]=Kc;GA[6]=iy;HA[13]=Jc;GA[13]=
iy;HA[18]=Wc;GA[18]=iy;HA[19]=tc;GA[19]=iy;HA[20]=uc;GA[20]=iy;HA[21]=vc;GA[21]=iy;HA[22]=wc;GA[22]=iy;Yw(b);b.Z=new IA;f=a.d;f.A=xx(f);null!=f.K?(JA(f,f.K),null!=f.i&&f.Y&&KA(f.Y,f.i,!0),null!=f.j&&f.Y&&KA(f.Y,f.j,!1)):null!=f._&&LA(f,f._,!0);EA(a.d)}else $wnd.alert("JSME initialization error: HTML id "+a+" not found.")}function MA(a,b){vA.call(this,a,-1,-1,b)}s(421,1,{139:1},uA,wA,vA,MA);_.me=function(a){NA(new OA(a,this.b,PA))};_.ne=function(){cn(($m(),an),new QA(this))};_.oe=function(){return this.b.G};
_.pe=function(a){$wnd.alert("JSME initialization error: "+a)};_.qe=function(){var a=this.b,b;a.tb?b=RA(a,1)+tb+RA(a,2)+tb+RA(a,3):b=RA(a,0);return b};_.re=function(){return tp(this.b)};_.se=function(){var a=this.b,b,c;b=a.Ab;a.Ab=!1;c=SA(a);a.Ab=b;EA(a);return c};_.te=function(a){DA(this.b,a)};_.ue=function(){};_.ve=function(a){LA(this.b,a,!0)};_.we=function(a){JA(this.b,a)};_.xe=function(){EA(this.b)};_.ye=function(){TA(this.b)};
_.ze=function(a){var b=this.c,c,d;if(b.c!=a){b.c=a;for(d=new Th(b.b);d.c<d.e.ie();)c=Uh(d),a?c.b=j:c.b='shape-rendering="crispEdges"'}EA(b.d)};_.Ae=function(a){this.b.G=a};_.Be=function(a){UA(this.b,a)};_.Ce=function(a,b){var c=this.b;c.f=!1;c.Bb=new VA(c,a);WA(c.Bb);c.c=253;c.gb=!0;c.I=b;EA(c)};_.De=function(){return XA(this.b)};_.b=null;_.c=null;function QA(a){this.b=a}s(422,1,{},QA);_.hc=function(){var a,b;for(b=new Th(this.b.c.b);b.c<b.e.ie();)a=Uh(b),a.r.pb.innerHTML=a.o||j};_.b=null;
function YA(){var a=(ZA(),$A()),b;$wnd.JavaScriptApplet.JSME=Nj(function(){var a,b=arguments,e=aB;ZA();b=b&&b[0]&&("object"==typeof b[0]||typeof b[0]==ke)?b[0]:null;a:if(bB==e||cB==e&&y(b,139))e=!0;else{if(null!=b)for(b=Pm(b);b&&b!=bB;b=null)if(b==e){e=!0;break a}e=!1}e?a=arguments[0]:3==arguments.length?a=new wA(arguments[0],arguments[1],arguments[2]):1==arguments.length?a=new uA(arguments[0]):4==arguments.length?a=new vA(arguments[0],arguments[1],arguments[2],arguments[3]):2==arguments.length&&
(a=new MA(arguments[0],arguments[1]));this.g=a;a.__gwtex_wrap=this;return this});b=$wnd.JavaScriptApplet.JSME.prototype={};b.alert=Nj(function(a){this.g.me(a)});b.deferredRepaint=Nj(function(){this.g.ne()});b.getHelpURL=Nj(function(){return this.g.b.G});b.initializationError=Nj(function(a){this.g.pe(a)});b.jmeFile=Nj(function(){return this.g.qe()});b.molFile=Nj(function(){return this.g.re()});b.nonisomericSmiles=Nj(function(){return this.g.se()});b.options=Nj(function(a){this.g.te(a)});b.ping=Nj(function(){});
b.readMolFile=Nj(function(a){this.g.ve(a)});b.readMolecule=Nj(function(a){this.g.we(a)});b.repaint=Nj(function(){this.g.xe()});b.reset=Nj(function(){this.g.ye()});b.setAntialias=Nj(function(a){this.g.ze(a)});b.setHelpURL=Nj(function(a){this.g.Ae(a)});b.setSubstituent=Nj(function(a){this.g.Be(a)});b.setTemplate=Nj(function(a,b){this.g.Ce(a,b)});b.smiles=Nj(function(){return this.g.De()});dB();if(a)for(p in a)void 0===$wnd.JavaScriptApplet.JSME[p]&&($wnd.JavaScriptApplet.JSME[p]=a[p])}
function Nq(){eB||(eB=!0,YA())}s(423,1,{},Nq);var eB=!1;function fB(a){Km();this.i=a}s(425,412,vh,fB);function Tq(){Km();this.i="divide by zero"}s(426,97,Zg,Tq);function Iq(){Km()}function gB(a){Km();this.i=a}s(427,97,Zg,Iq,gB);function hB(){}function iB(a){return typeof a==yf?Hc+(0>a?-a:a):a}function jB(a,b){var c;c=new hB;c.e=Nb+(kB(0!=a?-a:0)?iB(0!=a?-a:0):j+Lh(c));lB(0!=a?-a:0)&&mB(0!=a?-a:0,c);c.c=4;c.b=b;return c}
function U(a){var b;b=new hB;b.e=Nb+(kB(a)?iB(a):j+Lh(b));lB(a)&&mB(a,b);return b}function V(a,b){var c;c=new hB;c.e=Nb+(kB(a)?iB(a):j+Lh(c));lB(a)&&mB(a,c);c.c=b?8:0;return c}function nB(){var a;a=new hB;a.e=Nb+(kB(0)?iB(0):j+Lh(a));lB(0)&&mB(0,a);a.c=2;return a}function oB(a){var b;b=new hB;b.e=Nb+(kB(a)?iB(a):j+Lh(b));lB(a)&&mB(a,b);b.c=1;return b}function lB(a){return typeof a==yf&&0<a}function kB(a){return null!=a&&0!=a}
function mB(a,b){var c;b.d=a;if(2==a)c=String.prototype;else if(0<a)if(c=Sg[b.d])c=c.prototype;else{c=Sg[a]=function(){};c.cZ=b;return}else return;c.cZ=b}s(429,1,{},hB);_.tS=function(){return(0!=(this.c&2)?"interface ":0!=(this.c&1)?j:"class ")+this.e};_.b=null;_.c=0;_.d=0;_.e=null;function pB(a){var b;b=qB;!b&&(b=qB=/^\s*[+-]?((\d+\.?\d*)|(\.\d+))([eE][+-]?\d+)?[dDfF]?\s*$/i);b=b.test(a)?parseFloat(a):Number.NaN;if(isNaN(b))throw new rB(Vb+a+da);return b}
function $z(a,b){var c,d;if(null==a)throw new rB(xf);if(2>b||36<b)throw new rB("radix "+b+" out of range");d=a.length;for(c=0<d&&45==a.charCodeAt(0)?1:0;c<d;++c){var e=a.charCodeAt(c);if(-1==(2>b||36<b?-1:48<=e&&e<48+(10>b?b:10)?e-48:97<=e&&e<b+97-10?e-97+10:65<=e&&e<b+65-10?e-65+10:-1))throw new rB(Vb+a+da);}c=parseInt(a,b);if(isNaN(c))throw new rB(Vb+a+da);if(-2147483648>c||2147483647<c)throw new rB(Vb+a+da);return c}s(431,1,{106:1,116:1});var qB=null;function sB(a){this.b=a}
s(430,431,{106:1,109:1,110:1,116:1},sB);_.eQ=function(a){return y(a,110)&&a.b==this.b};_.hC=function(){return G(this.b)};_.tS=function(){return j+this.b};_.b=0;function zx(){Km()}function Kj(a){Km();this.i=a}s(432,97,ah,zx,Kj);function Ct(){Km()}function Eu(a){Km();this.i=a}s(433,97,Zg,Ct,Eu);function Q(a){this.b=a}
function dr(a){var b,c;if(0>a)return 0;if(0==a)return 32;b=-(a>>16)>>16&16;c=16-b;a>>=b;b=a-256>>16&8;c+=b;a<<=b;b=a-4096>>16&4;c+=b;a<<=b;b=a-16384>>16&2;c+=b;a=a<<b>>14;return c+2-(a&~(a>>1))}function Yq(a){var b,c;if(0==a)return 32;c=0;for(b=1;0==(b&a);b<<=1)++c;return c}function tB(a){var b,c;return-129<a&&128>a?(b=a+128,c=(uB(),vB)[b],!c&&(c=vB[b]=new Q(a)),c):new Q(a)}s(434,431,{106:1,109:1,114:1,116:1},Q);_.eQ=function(a){return y(a,114)&&a.b==this.b};_.hC=function(){return this.b};
_.tS=function(){return j+this.b};_.b=0;function uB(){uB=u;vB=v(wB,k,114,256,0)}var vB;function Ui(a){return 0>a?-a:a}function Ti(a,b){return a>b?a:b}function xB(a){return Math.round(a)}function Hm(){Km()}function Wp(a){Km();this.i=a}s(437,97,{106:1,112:1,115:1,117:1,119:1},Hm,Wp);function Nh(){Nh=u;Oh=D(Mh,k,-1,[48,49,50,51,52,53,54,55,56,57,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122])}var Oh;function rB(a){Km();this.i=a}s(439,432,ah,rB);
function Om(a){this.b="Unknown";this.d=a;this.c=-1}s(440,1,{106:1,118:1},Om);_.tS=function(){return this.b+Ya+this.d+"(Unknown Source"+(0<=this.c?nb+this.c:j)+ya};_.b=null;_.c=0;_.d=null;function yB(a,b){return a.charCodeAt(b)}function qA(a,b){var c=b,d=a.length,e,f;e=yB(a,c++);if(d=55296<=e&&56319>=e&&c<d)c=f=a.charCodeAt(c),d=56320<=c&&57343>=c;return d?65536+((e&1023)<<10)+(f&1023):e}function zB(a,b){return-1!=a.lastIndexOf(b)&&a.lastIndexOf(b)==a.length-b.length}
function C(a,b){return!y(b,1)?!1:""+a==b}function rq(a,b){return null==b?!1:a==b||a.toLowerCase()==b.toLowerCase()}function gt(a,b){return a.indexOf(b)}function Yz(a,b,c){return a.indexOf(b,c)}function Dw(a,b){return a.lastIndexOf(b)}function AB(a){var b=aa,c=Mg,d;for(d=0;0<=(d=c.indexOf(Yc,d));)36==c.charCodeAt(d+1)?c=c.substr(0,d-0)+"$"+ln(c,++d):c=c.substr(0,d-0)+ln(c,++d);return a.replace(RegExp(b,le),c)}
function BB(a,b){for(var c=RegExp(b,le),d=[],e=0,f=a,g=null;;){var h=c.exec(f);if(null==h||f==j){d[e]=f;break}else d[e]=f.substring(0,h.index),f=f.substring(h.index+h[0].length,f.length),c.lastIndex=0,g==f&&(d[e]=f.substring(0,1),f=f.substring(1)),g=f,e++}if(0<a.length){for(c=d.length;0<c&&d[c-1]==j;)--c;c<d.length&&d.splice(c,d.length-c)}c=v(Mq,k,1,d.length,0);for(e=0;e<d.length;++e)c[e]=d[e];return c}function ln(a,b){return a.substr(b,a.length-b)}
function kn(a){return 0==a.length||a[0]>ca&&a[a.length-1]>ca?a:a.replace(/^(\s*)/,j).replace(/\s*$/,j)}function ht(a){var b;return 65536<=a?(b=56320+(a-65536&1023)&65535,String.fromCharCode(55296+(a-65536>>10&1023)&65535)+String.fromCharCode(b)):String.fromCharCode(a&65535)}_=String.prototype;_.cM={1:1,106:1,107:1,109:1};_.eQ=function(a){return C(this,a)};_.hC=function(){return ur(this)};_.tS=_.toString;function CB(){CB=u;DB={};EB={}}
function ur(a){CB();var b=nb+a,c=EB[b];if(null!=c)return c;c=DB[b];if(null==c){var d,e,f,c=0;e=a.length;f=e-4;for(d=0;d<f;)c=a.charCodeAt(d+3)+31*(a.charCodeAt(d+2)+31*(a.charCodeAt(d+1)+31*(a.charCodeAt(d)+31*c)))|0,d+=4;for(;d<e;)c=31*c+yB(a,d++);c|=0}256==FB&&(DB=EB,EB={},FB=0);++FB;return EB[b]=c}var DB,FB=0,EB;function Dm(a,b){Em(a.b,b);return a}function Cm(){this.b=new mn}function GB(){this.b=new mn;this.b.b+=j}s(442,1,Jh,Cm,GB);_.tS=function(){return this.b.b};function sr(){this.b=new mn}
function Wz(){this.b=new mn}function pq(a){this.b=new mn;Em(this.b,a)}s(443,1,Jh,sr,Wz,pq);_.tS=function(){return this.b.b};function Zz(a){a="String index out of range: "+a;Km();this.i=a}s(444,433,Zg,Zz);
function HB(a,b,c){var d=0,e=0,f,g,h,i,l;if(null==a||null==b)throw new Hm;i=a.cZ;g=b.cZ;if(0==(i.c&4)||0==(g.c&4))throw new gB("Must be array types");h=i.b;f=g.b;if(!(0!=(h.c&1)?h==f:0==(f.c&1)))throw new gB("Array types must match");l=a.length;f=b.length;if(0>d||0>e||0>c||d+c>l||e+c>f)throw new Ct;if((0==(h.c&1)||0!=(h.c&4))&&i!=g)if(a===b&&d<e){d+=c;for(c=e+c;c-- >e;)Hq(b,c,a[--d])}else for(c=e+c;e<c;)Hq(b,e++,a[d++]);else Array.prototype.splice.apply(b,[e,c].concat(a.slice(d,d+c)))}
function jt(){Km()}function fA(a){Km();this.i=a}s(446,97,Zg,jt,fA);function Kx(a,b){for(var c;a.Hc();)if(c=a.Ic(),null==b?null==c:Qm(b,c))return a;return null}function Nx(a,b){var c;return(c=Kx(a.gd(),b))?(c.Jc(),!0):!1}function IB(a){var b,c,d,e;d=new Cm;b=null;d.b.b+=Xc;for(c=a.gd();c.Hc();)null!=b?Em(d.b,b):b=Ca,e=c.Ic(),Em(d.b,e===a?"(this Collection)":j+e);d.b.b+=Zc;return d.b.b}s(447,1,{});_.Ee=function(){throw new fA("Add not supported on this collection");};
_.Fe=function(a){return!!Kx(this.gd(),a)};_.fe=function(){return 0==this.ie()};_.Ge=function(a){return Nx(this,a)};_.tS=function(){return IB(this)};s(449,447,ph);_.eQ=function(a){var b;if(a===this)return!0;if(!y(a,125)||a.ie()!=this.ie())return!1;for(a=a.gd();a.Hc();)if(b=a.Ic(),!this.Fe(b))return!1;return!0};_.hC=function(){var a,b,c;a=0;for(b=this.gd();b.Hc();)c=b.Ic(),null!=c&&(a+=Tm(c),a=~~a);return a};
function JB(a,b){var c;return y(b,123)&&(c=b.He(),Ts(a.b,c))?(c=ri(a.b,c),a.b.je(b.Ie(),c)):!1}function jA(a){this.b=a}s(448,449,ph,jA);_.Fe=function(a){return JB(this,a)};_.gd=function(){return new bA(this.b)};_.Ge=function(a){return JB(this,a)?(a=a.He(),bi(this.b,a),!0):!1};_.ie=function(){return this.b.e};_.b=null;function dA(a){if(a.c)Wh(a.b),bi(a.d,a.c.He()),a.c=null;else throw new mt("Must call next() before remove().");}
function bA(a){var b;this.d=a;b=new oi;a.d&&hi(b,new KB(a));var c=a.f,d;for(d in c)if(58==d.charCodeAt(0)){var e=new LB(a,d.substring(1));b.Ee(e)}var a=a.b,f;for(f in a)if(c=parseInt(f,10),f==c){c=a[c];d=0;for(e=c.length;d<e;++d)b.Ee(c[d])}this.b=new Th(b)}s(450,1,{},bA);_.Hc=function(){return cA(this.b)};_.Ic=function(){return this.c=Uh(this.b)};_.Jc=function(){dA(this)};_.b=null;_.c=null;_.d=null;s(452,1,Fh);_.eQ=function(a){return y(a,123)&&eA(this.He(),a.He())&&eA(this.Ie(),a.Ie())?!0:!1};
_.hC=function(){var a,b;b=a=0;null!=this.He()&&(a=Tm(this.He()));null!=this.Ie()&&(b=Tm(this.Ie()));return a^b};_.tS=function(){return this.He()+sb+this.Ie()};function KB(a){this.b=a}s(451,452,Fh,KB);_.He=function(){return null};_.Ie=function(){return this.b.c};_.Je=function(a){return gA(this.b,a)};_.b=null;function LB(a,b){this.c=a;this.b=b}s(453,452,Fh,LB);_.He=function(){return this.b};_.Ie=function(){return this.c.f[nb+this.b]};_.Je=function(a){return hA(this.c,this.b,a)};_.b=null;_.c=null;
function Bu(a,b){(0>a||a>=b)&&MB(a,b)}function MB(a,b){throw new Eu("Index: "+a+", Size: "+b);}s(454,447,Xg);_.Ke=function(){throw new fA("Add not supported on this list");};_.Ee=function(a){this.Ke(this.ie(),a);return!0};_.eQ=function(a){var b,c,d;if(a===this)return!0;if(!y(a,121)||this.ie()!=a.ie())return!1;c=this.gd();for(d=a.gd();c.Hc();)if(a=c.Ic(),b=d.Ic(),!(null==a?null==b:Qm(a,b)))return!1;return!0};
_.hC=function(){var a,b,c;b=1;for(a=this.gd();a.Hc();)c=a.Ic(),b=31*b+(null==c?0:Tm(c)),b=~~b;return b};_.gd=function(){return new Th(this)};_.Me=function(){return this.Ne(0)};_.Ne=function(a){return new NB(this,a)};_.Oe=function(){throw new fA("Remove not supported on this list");};function cA(a){return a.c<a.e.ie()}function Uh(a){if(a.c>=a.e.ie())throw new Ft;return a.e.Le(a.d=a.c++)}function Wh(a){if(0>a.d)throw new Uu;a.e.Oe(a.d);a.c=a.d;a.d=-1}function Th(a){this.e=a}s(455,1,{},Th);_.Hc=function(){return cA(this)};
_.Ic=function(){return Uh(this)};_.Jc=function(){Wh(this)};_.c=0;_.d=-1;_.e=null;function NB(a,b){var c;this.e=this.b=a;c=a.ie();(0>b||b>c)&&MB(b,c);this.c=b}s(456,455,{},NB);_.Pe=function(){return 0<this.c};_.Qe=function(){if(0>=this.c)throw new Ft;return this.b.Le(this.d=--this.c)};_.b=null;function OB(a){a=new bA(a.c.b);return new PB(a)}function QB(a,b){this.b=a;this.c=b}s(457,449,ph,QB);_.Fe=function(a){return Ts(this.b,a)};_.gd=function(){return OB(this)};_.ie=function(){return this.c.b.e};
_.b=null;_.c=null;function PB(a){this.b=a}s(458,1,{},PB);_.Hc=function(){return cA(this.b.b)};_.Ic=function(){return(this.b.c=Uh(this.b.b)).He()};_.Jc=function(){dA(this.b)};_.b=null;s(459,454,Xg);_.Ke=function(a,b){var c;c=Qx(this,a);var d=c.e;new Lx(b,c.c);++d.c;++c.b;c.d=null};_.Le=function(a){var b;b=Qx(this,a);try{return Rx(b)}catch(c){c=Zh(c);if(y(c,124))throw new Eu("Can't get element "+a);throw c;}};_.gd=function(){return Qx(this,0)};
_.Oe=function(a){var b,c;b=Qx(this,a);try{c=Rx(b)}catch(d){d=Zh(d);if(y(d,124))throw new Eu("Can't remove element "+a);throw d;}RB(b);return c};function SB(a){a.c=v(Ey,k,0,0,0)}function gx(a,b,c){(0>b||b>a.d)&&MB(b,a.d);a.c.splice(b,0,c);++a.d}function hi(a,b){Hq(a.c,a.d++,b);return!0}function ii(a){a.c=v(Ey,k,0,0,0);a.d=0}function gs(a,b){Bu(b,a.d);return a.c[b]}function Ni(a,b){for(var c=0;c<a.d;++c)if(eA(b,a.c[c]))return c;return-1}
function js(a,b){var c;c=(Bu(b,a.d),a.c[b]);a.c.splice(b,1);--a.d;return c}function gi(a,b){var c;c=Ni(a,b);if(-1==c)return!1;js(a,c);return!0}function Pj(a,b){var c;if(b.length<a.d){c=b;var d;d=Aq(0,a.d);D(c.cZ,c.cM,c.qI,d);b=d}for(c=0;c<a.d;++c)Hq(b,c,a.c[c]);b.length>a.d&&Hq(b,a.d,null);return b}function oi(){SB(this)}function Dy(a){SB(this);this.c.length=a}
function Cx(a){SB(this);var b=this.c,c=a.c,a=c.slice(0,a.d);D(c.cZ,c.cM,c.qI,a);Array.prototype.splice.apply(b,[0,0].concat(a));this.d=this.c.length}s(460,454,th,oi,Dy,Cx);_.Ke=function(a,b){gx(this,a,b)};_.Ee=function(a){return hi(this,a)};_.Fe=function(a){return-1!=Ni(this,a)};_.Le=function(a){return gs(this,a)};_.fe=function(){return 0==this.d};_.Oe=function(a){return js(this,a)};_.Ge=function(a){return gi(this,a)};_.ie=function(){return this.d};_.d=0;
function Px(a,b){var c=a.length,d;for(d=0;d<c;++d)Hq(a,d,b)}function lq(){lq=u;mq=new TB}var mq;function TB(){}s(463,454,oh,TB);_.Fe=function(){return!1};_.Le=function(){throw new Ct;};_.ie=function(){return 0};function UB(){this.b=new Date}function VB(a){return 10>a?cb+a:j+a}s(464,1,{106:1,108:1,109:1,120:1},UB);_.eQ=function(a){return y(a,120)&&gr(H(this.b.getTime()),H(a.b.getTime()))};
_.hC=function(){var a;a=H(this.b.getTime());var b,c,d,e;c=32;d=a.h&1048575;22>c?(e=d>>>c,b=a.m>>c|d<<22-c,c=a.l>>c|a.m<<22-c):44>c?(e=0,b=d>>>c-22,c=a.m>>c-22|a.h<<44-c):(b=e=0,c=d>>>c-44);b=Pq(c&4194303,b&4194303,e&1048575);a=Pq(a.l^b.l,a.m^b.m,a.h^b.h);return I(a)};
_.tS=function(){var a,b;b=-this.b.getTimezoneOffset();a=(0<=b?Aa:j)+~~(b/60);b=10>(0>b?-b:b)%60?cb+(0>b?-b:b)%60:j+(0>b?-b:b)%60;return(WB(),XB)[this.b.getDay()]+ca+YB[this.b.getMonth()]+ca+VB(this.b.getDate())+ca+VB(this.b.getHours())+nb+VB(this.b.getMinutes())+nb+VB(this.b.getSeconds())+" GMT"+a+b+ca+this.b.getFullYear()};_.b=null;function WB(){WB=u;XB=D(Mq,k,1,"Sun,Mon,Tue,Wed,Thu,Fri,Sat".split(","));YB=D(Mq,k,1,"Jan,Feb,Mar,Apr,May,Jun,Jul,Aug,Sep,Oct,Nov,Dec".split(","))}var XB,YB;
function eq(a,b){return null==x(a.b,b,a)}function dq(){this.b=new Rh}s(466,449,{106:1,108:1,125:1},dq);_.Ee=function(a){return eq(this,a)};_.Fe=function(a){return Ts(this.b,a)};_.fe=function(){return 0==this.b.e};_.gd=function(){return OB(new QB(this.b,new jA(this.b)))};_.Ge=function(a){return null!=bi(this.b,a)};_.ie=function(){return this.b.e};_.tS=function(){return IB(new QB(this.b,new jA(this.b)))};_.b=null;
function Qx(a,b){var c,d;(0>b||b>a.c)&&MB(b,a.c);if(b>=a.c>>1){d=a.b;for(c=a.c;c>b;--c)d=d.c}else{d=a.b.b;for(c=0;c<b;++c)d=d.b}return new ZB(a,b,d)}function Ux(){this.b=new $B;this.c=0}s(467,459,oh,Ux);_.Ee=function(a){new Lx(a,this.b);++this.c;return!0};_.Ne=function(a){return Qx(this,a)};_.ie=function(){return this.c};_.b=null;_.c=0;function Rx(a){if(a.c==a.e.b)throw new Ft;a.d=a.c;a.c=a.c.b;++a.b;return a.d.d}
function RB(a){if(!a.d)throw new Uu;a.c==a.d?a.c=a.d.b:--a.b;var b=a.d;b.b.c=b.c;b.c.b=b.b;b.b=b.c=b;a.d=null;--a.e.c}function ZB(a,b,c){this.e=a;this.c=c;this.b=b}s(468,1,{},ZB);_.Hc=function(){return this.c!=this.e.b};_.Pe=function(){return this.c.c!=this.e.b};_.Ic=function(){return Rx(this)};_.Qe=function(){if(this.c.c==this.e.b)throw new Ft;this.d=this.c=this.c.c;--this.b;return this.d.d};_.Jc=function(){RB(this)};_.b=0;_.c=null;_.d=null;_.e=null;function $B(){this.b=this.c=this}
function Lx(a,b){this.d=a;this.b=b;this.c=b.c;b.c.b=this;b.c=this}s(469,1,{},$B,Lx);_.b=null;_.c=null;_.d=null;function iA(a,b){this.b=a;this.c=b}s(470,452,Fh,iA);_.He=function(){return this.b};_.Ie=function(){return this.c};_.Je=function(a){var b;b=this.c;this.c=a;return b};_.b=null;_.c=null;function Ft(){Km()}s(471,97,{106:1,112:1,117:1,119:1,124:1},Ft);function eA(a,b){return Jq(a)===Jq(b)||null!=a&&Qm(a,b)}function Cy(a){var b=v(Vx,k,87,0,0);return Pj(a.b,b)}function qx(){this.b=new oi}
s(473,454,th,qx);_.Ke=function(a,b){gx(this.b,a,b)};_.Ee=function(a){return hi(this.b,a)};_.Fe=function(a){return-1!=Ni(this.b,a)};_.Le=function(a){return gs(this.b,a)};_.fe=function(){return 0==this.b.d};_.gd=function(){return new Th(this.b)};_.Oe=function(a){return js(this.b,a)};_.ie=function(){return this.b.d};_.tS=function(){return IB(this.b)};_.b=null;function Oo(a,b,c){a=new aC(b,c,a);if(!b.vd(a,c))for(b=b.Sb;b&&!b.vd(a,c);)b=b.Sb}
function vx(a,b,c){var d;d=new bC;Bi(d.r,b,c);ui(a.f,d.r,0,0);hi(a.b,d);return d}function CA(a,b){return!a.i?null:b in a.i?a.i[b]:null}function cC(a,b,c,d){b=b.b;if(b.p!=c||b.q!=d)a.f.jd(b.r,c,d),b.p=c,b.q=d;dC(b)}
function yA(a,b,c,d){this.pb=yu();this.b=new oi;this.i=d;this.pb.style[Jg]=0>b?gb:b+Jf;this.pb.style[De]=0>c?gb:c+Jf;this.f=new Lt;this.f.Xc(gb);this.f.Vc(gb);Nt(this,this.f);this.d=a;a.Fb=this;this.e=vx(this,b,c);this.e.i=!1;A(this,this,(To(),To(),Uo));A(this,new eC(this),(Cp(),Cp(),Dp));A(this,new fC(this),(Ei(),Ei(),Fi));A(this,new gC(this),(Gi(),Gi(),Hi));A(this,new hC(this),(op(),op(),pp));(No(),No(),$w).b=this}s(474,288,Wg,yA);_.c=!1;_.d=null;_.e=null;_.f=null;_.i=null;_.j=!1;
function eC(a){this.b=a}s(475,1,{},eC);_.ec=function(a){var b,c,d;c=Ki(a);d=Li(a);b=Mi(a.b);a=new iC(a);2==b&&(a.f=4);jC(this.b.d,a,c,d);this.b.j=!0};_.b=null;function fC(a){this.b=a}s(476,1,{},fC);
_.fc=function(a){var b,c,d;c=Ki(a);d=Li(a);b=new iC(a);if(this.b.j){var a=this.b.d,e,f;if(!a.x&&a.eb&&!kC(b)&&(a.gb=!1,c-=a.X,d-=2*a.X,e=c-a.Db,f=d-a.Eb,!(2==a.N||3==a.N||9==a.N))){if(1==a.N)b:{e=a.Y;b=c;f=d;var g,h,i,l,m,n,o;e.D=0;e.J[0]=b;e.M[0]=f;g=lC(e,0);if(0<g&&205!=e.n.c)e.D=g,g!=e.F?(e.J[e.t]=e.J[g],e.M[e.t]=e.M[g]):(e.J[e.t]=e.L,e.M[e.t]=e.O);else if(205==e.n.c){e.E=0;g=e.j[e.v];l=e.j[e.v-1];h=e.J[g]-e.J[l];i=e.M[g]-e.M[l];g=Math.sqrt(h*h+i*i);1>g&&(g=1);i/=g;h/=g;m=g/2/Math.tan(0.5235987755982988);
n=b-e.J[l];o=f-e.M[l];l=-g/2+n*h+o*i;i=o*h-n*i;if(0>l)if(1<e.v)mC(e,e.t),--e.v,e.C=!1;else if(2==e.t)0>e.M[2]-e.M[1]&&0<f-e.M[1]?e.M[2]=e.M[1]+g/2:0<e.M[2]-e.M[1]&&0>f-e.M[1]&&(e.M[2]=e.M[1]-g/2),0>e.J[2]-e.J[1]&&0<b-e.J[1]?e.J[2]=e.J[1]+0.866*g:0<e.J[2]-e.J[1]&&0>b-e.J[1]&&(e.J[2]=e.J[1]-0.866*g);else{if(2==e.z[e.j[0]]&&(m=e.G[e.j[0]][1],m==e.j[1]&&(m=e.G[e.j[0]][2]),h=e.J[e.j[0]]-e.J[m],i=e.M[e.j[0]]-e.M[m],g=Math.sqrt(h*h+i*i),1>g&&(g=1),i/=g,h/=g,n=b-e.J[m],o=f-e.M[m],b=o*h-n*i,n=e.J[e.j[1]]-
e.J[m],o=e.M[e.j[1]]-e.M[m],f=o*h-n*i,0<b&&0>f||0>b&&0<f))b=e.u,e.D=e.j[0],W(e,0),nC(e,b),0<lC(e,e.t)&&(e.C=!0)}else{if(e.C)break b;b=-1;l<1.5*g&&(b=(1.5*g-l)*m/(1.5*g));if((0>=i?0-i:i)>b){++e.v;if(100<e.v){xp(e.n,"You are too focused on chains, enough of it for now !");--e.v;break b}e.D=e.t;W(e,I(H(Math.round(i))));e.j[e.v]=e.t;0<lC(e,e.t)&&(e.C=!0)}}e.D=0;b=e.v;xp(e.n,b+j)}else h=b-e.J[e.F],i=f-e.M[e.F],g=Math.sqrt(h*h+i*i),1>g&&(g=1),e.J[e.t]=e.J[e.F]+25*(h/g),e.M[e.t]=e.M[e.F]+25*(i/g)}else if(oC(b)||
kC(b)){b=a.Y;f=v(pC,k,-1,4,1);qC(b,f);g=f[0];i=f[1];h=Math.sin(3.141592653589793*e/180);e=Math.cos(3.141592653589793*e/180);for(m=1;m<=b.t;++m)n=b.J[m]*e+b.M[m]*h,l=-b.J[m]*h+b.M[m]*e,b.J[m]=n,b.M[m]=l;qC(b,f);for(m=1;m<=b.t;++m)b.J[m]+=g-f[0],b.M[m]+=i-f[1];a.N=5}else if(0==a.Y.D&&0==a.Y.E){b=a.Y;for(g=1;g<=b.t;++g)b.J[g]+=e,b.M[g]+=f;i=v(pC,k,-1,4,1);qC(b,i);g=i[0];i=i[1];if(!(0<g&&g<b.n.A.c-b.n.X&&0<i&&i<b.n.A.b-3*b.n.X))for(g=1;g<=b.t;++g)b.J[g]-=e,b.M[g]-=f;a.N=5}a.B=!1;rC(a);a.ib=!0;EA(a);a.Db=
c;a.Eb=d}}else if(a=this.b.d,!a.x&&!kC(b)){c-=a.X;d-=2*a.X;f=!1;b=0;e=1;b:for(;e<=a.ob;++e){i=0;g=a.cb[e];l=n=m=o=l=h=void 0;h=0;n=51;for(m=1;m<=g.t;++m)l=c-g.J[m],o=d-g.M[m],l=l*l+o*o,50>l&&l<n&&(n=l,h=m);g=h;if(0==g){i=a.cb[e];l=n=m=o=l=h=void 0;h=0;n=51;for(m=1;m<=i.u;++m)l=c-i.K[m],o=d-i.N[m],l=l*l+o*o,50>l&&l<n&&(n=l,h=m);i=h}if(0<g){a.cb[e].D=g;a.cb[e].E=0;b=e;f=!0;break b}else if(0<i){a.cb[e].D=0;a.cb[e].E=i;b=e;f=!0;break b}else if(0<a.cb[e].D||0<a.cb[e].E)a.cb[e].D=0,a.cb[e].E=0,f=!0}if(f){for(e=
a.e+1;e<=a.ob;++e)a.cb[e].D=0,a.cb[e].E=0;a.B=!1;rC(a);a.ib=!0;EA(a)}0!=b&&b!=a.e&&(a.e=b,a.Y=a.cb[a.e])}this.b.pb.focus()};_.b=null;function gC(a){this.b=a}s(477,1,{},gC);
_.gc=function(){this.b.j=!1;var a=this.b.d;if(!a.x){a.gb=!1;if(1==a.N){if(205==a.c){var b=a.Y,c,d;b.C&&(c=lC(b,b.t),6>b.z[c]&&(sC(b),d=b.j[b.v-1],b.H[b.u]=c,b.I[b.u]=d,b.G[c][++b.z[c]]=d,b.G[d][++b.z[d]]=c),mC(b,b.t));b.C=!1;tC(a)}else b:{var b=a.Y,e,f;c=lC(b,b.t);if(0!=c){--b.t;for(f=1;f<b.u;++f)if(d=b.H[f],e=b.I[f],d==c&&e==b.F||d==b.F&&e==c){--b.u;--b.z[b.F];3>b.s[f]?(++b.s[f],b.B[f]=0):xp(b.n,"Maximum allowed bond order is 3 !");break b}6==b.z[c]?(--b.u,--b.z[b.F],xp(b.n,"Not possible connection !")):
(b.I[b.u]=c,b.G[c][++b.z[c]]=b.F,b.G[b.F][b.z[b.F]]=c,b.K[b.u]=I(H(xB((b.J[b.F]+b.J[c])/2))),b.N[b.u]=I(H(xB((b.M[b.F]+b.M[c])/2))))}}uC(a.Y)}else 5==a.N&&(uC(a.Y),tC(a));0<a.N&&(a.B=!1,rC(a),a.ib=!0,vC(a.Y),wC(a.Y),EA(a),a.N=0,a.f=!1)}};_.b=null;function hC(a){this.b=a}s(478,1,{},hC);var xC=_.b=null;function yC(){yC=u;xC=new pr((Er(),new Dr("")),4,4)}
function zC(){zC=u;AC={}}
function Iy(a){var b,c,d,e,f,g,h,i,l,m,n,o;b=Lh(a);if(b in AC)a=AC[b];else{c=$doc.getElementsByTagName("body")[0];d=$doc.createElement(fg);e=$doc.createElement(Fe);e.width=1;e.height=1;f=(yC(),xC);e.src=f.e.b;f=$doc.createTextNode("Q");var q;a&&(Ii(),d.style[ge]=a.c+If,q=a.b,q!=Pb&&(d.style[fe]=q),0!=(a.d&1)&&(d.style[ie]=qd),0!=(a.d&2)&&(d.style[he]=Ge));a=(d.appendChild(f),d.appendChild(e),c.appendChild(d),g=$i(d),h=$i(d)+(d.offsetHeight||0),i=h-g,l=$i(e)+(e.offsetHeight||0)+1,m=h-l,n=l-g,c.removeChild(d),
o=new BC,o.b=n,o.c=m,o.d=i,o);AC[b]=a}return a}function CC(){zC();var a,b,c,d,e;this.b=D(Mq,k,1,["monospace","sans-serif",dg]);this.d={};this.c={};Ii();this.e=$doc.getElementsByTagName("body")[0];this.f=$doc.createElement(fg);this.f.innerHTML=this.i||j;this.f.style[ge]="72.0px";for(b=this.b,c=0,d=b.length;c<d;++c)a=b[c],this.f.style[fe]=a,this.e.appendChild(this.f),e=this.f.offsetWidth||0,this.d[a]=e,this.c[a]=this.f.offsetHeight||0,this.e.removeChild(this.f)}s(481,1,{},CC);_.e=null;_.f=null;
_.i="mmmmmmmmmmlli";var AC;function BC(){}s(482,1,{},BC);_.b=0;_.c=0;_.d=0;function kC(a){return 0!=(a.f&4)?!0:a.b&&y(a.b,44)?!!a.b.b.metaKey:!1}function oC(a){return a.b&&y(a.b,44)?!!a.b.b.shiftKey:!1}function iC(a){rp.call(this,null,0,null);this.b=a}function aC(a,b,c){rp.call(this,a,0,b);this.b=c}s(483,372,Dh,iC,aC);_._d=function(){return kC(this)};_.ae=function(){return oC(this)};_.b=null;
function qz(a,b){var c;if(b in a.c)return a.c[b];c=a.b;var d=a.d,e;null==b||!b.length?c=0:(c.e.appendChild(c.f),c.f.innerHTML=b||j,d&&(Ii(),c.f.style[ge]=d.c+If,e=d.b,e!=Pb&&(c.f.style[fe]=e),0!=(d.d&1)&&(c.f.style[ie]=qd),0!=(d.d&2)&&(c.f.style[he]=Ge)),c.f.style[Ig]=wf,d=c.f.offsetWidth||0,c.e.removeChild(c.f),c=d);return a.c[b]=c}function pz(a){this.d=a;this.c={};this.b=new CC}s(484,375,Dh,pz);_.b=null;function wx(a){this.b=a}s(485,382,{},wx);_.b=null;function DC(a,b){this.b=a;this.c=b}
s(486,1,{},DC);_.b=null;_.c=null;function EC(){EC=u;var a=FC=new CC;Ii();a.i="9p";a.f.style[fe]=dg;a.f.style[ge]="144.0pt";a.f.innerHTML=a.i||j;a.e.appendChild(a.f);a.e.removeChild(a.f);a.f.style[ge]="144.0px";a.e.appendChild(a.f);a.e.removeChild(a.f)}function GC(a,b){a.n=!0;if(a.i){a.k&&(a.c.length=0,a.k=!1);var c=a.c;c[c.length]=b}else c=a.c,c[c.length]=b,dC(a)}
function HC(a,b,c,d,e,f,g){var h,i,l,m,n,o,q,w,F,z,J;IC(a,!1);360<=g||-360>=g?h=JC(a,b,c,d,e):h=(i=f+g,l=0,i<f&&(l=1),m=0,(180<g||-180>g)&&(m=1),n=b+d/2,o=c+e/2,q=d/2,w=e/2,F=KC(n,o,q,w,f),z=KC(n,o,q,w,i),J="<g"+a.j+tb,J+='<path d ="M '+F.b+ca+F.c+" A "+q+ca+w+" 0 "+m+ca+l+ca+z.b+ca+z.c+'"/>',J+="</g>",J);GC(a,h)}function X(a,b,c,d,e){GC(a,rb+b+ja+c+ha+d+ka+e+ga+a.e+ea+a.b+bb)}function LC(a,b,c,d,e){IC(a,!1);GC(a,'<rect x="'+b+la+c+fa+e+'" width="'+d+da+a.j+bb)}
function MC(a,b,c,d){var e,b=b.replace(/&/g,ra).replace(/</g,ta).replace(/>/g,sa),b=(e=a.e,'<text x="'+c+la+d+ea+a.f+' fill="'+e+ma+b+"</text>");GC(a,b)}function Ty(a,b,c,d,e){IC(a,!0);GC(a,'<rect x="'+b+la+c+fa+e+'" width="'+d+da+a.j+bb)}
function dC(a){var b,c,d;a.n&&(b=a.c.join(aa),b=(c=Yi(a.r.pb)+(a.r.pb.offsetWidth||0)-Yi(a.r.pb),d=$i(a.r.pb)+(a.r.pb.offsetHeight||0)-$i(a.r.pb),'<svg xmlns="http://www.w3.org/2000/svg" version="1.1" width="'+c+fa+d+ma)+b+"</svg>",b!==a.o&&(a.r.pb.innerHTML=b||j,a.o=b),a.k=!0,a.n=!1)}function Y(a,b){(a.d=b)&&(a.e=Sf+(b.b>>16&255)+Ba+(b.b>>8&255)+Ba+(b.b&255)+ya)}
function NC(a,b){var c,d,e;a.f=(c=b.c,d=b.b,e=j,12!=c&&(e=' font-size="'+c+'pt"'),"Plain"!=d&&(e+=' font-family="'+d+da),0!=(b.d&1)&&(e+='font-weight="bold"'),0!=(b.d&2)&&(e+='font-style="italic"'),e)}s(487,378,{});_.c=null;_.d=null;_.e="black";_.f=null;_.i=!0;_.j=null;_.k=!1;_.n=!1;_.o=j;_.p=0;_.q=0;_.r=null;var FC;
function OC(a){var b,c,d,e,f;Xi(a);d=(vi(),wi(null));e=new fv;cv(e,a);zt(d,e,d.pb);f=a.Rc();b=a.Qc();c=(c=$wnd.navigator.userAgent.match(/MSIE\s+(\d+\.\d+)/))?parseFloat(c[1]):-1;9<=c?(++f,++b):7==c&&y(a,58)&&(c=a.pb.textContent,2>=c.length&&(f+=8));ev(e,a);Ht(d,e);return new Pw(f,b)}function PC(){this.pb=$doc.createElement(Zd);this.pb.style[Df]=Ee;this.pb.style[Ff]=bd;this.pb.style[Jg]=gb;this.pb.style[De]=gb}s(489,269,Gh,PC);_.Oc=function(){return Yi(this.pb)};_.Pc=function(){return $i(this.pb)};
function KC(a,b,c,d,e){e*=0.017453292519943295;a+=c*Math.cos(e);b+=-d*Math.sin(e);return new DC(new sB(a),new sB(b))}function JC(a,b,c,d,e){return'<ellipse cx="'+(b+d/2)+'" cy="'+(c+e/2)+'" rx="'+d/2+'" ry="'+e/2+da+a.j+bb}function QC(a,b,c,d,e){var f,g,h,i;if(1>d)return j;g=d;e&&(d-=1,b[0]==b[d]&&c[0]==c[d]&&--g);d=' points="';for(f=0;f<g;++f)h=b[f],i=c[f],d+=h+Ba+i,f<g-1&&(d+=ca);d+=da;b=qb;e?b+="polygon":b+="polyline";return b+=d+a.j+bb}
function IC(a,b){var c;c=a.e;b?a.j=' stroke="none" fill="'+c+ea+a.b:a.j=' fill="none" stroke="'+c+ea+a.b}function bC(){EC();this.c=[];this.r=new PC}s(490,487,{},bC);_.b='shape-rendering="crispEdges"';function RC(){RC=u;SC=new Pw(0,0)}function TC(a){var b;b=a.Ue();if(!b){var c;(c=a.Re())?(b=OC(c.b),Bi(c.be(),b.c,b.b),c=OC(c.b),b=new Pw(c.c-b.c,c.b-b.b)):b=new Pw(0,0);a.Ye(b)}return b}
function cx(a,b){var c;if(a.fe())return SC;if(-1!=a.f.c&&-1!=a.f.b)return a.f;a.Xe(Hw(b));c=OC(a.be());a.f.c=c.c;a.f.b=c.b;return c}function UC(a,b){var c;b&&(c=Sf+(b.b>>16&255)+Ba+(b.b>>8&255)+Ba+(b.b&255)+ya,a.Te().pb.style[jd]=c)}function VC(){this.f=new vy;this.f.b=-1;this.f.c=-1}s(492,1,{});_.Re=function(){return null};_.Se=function(a){this.We(a.xd())};_.Te=function(){return this.be()};_.Ue=function(){return WC};_.od=function(){};_.fe=function(){return!1};_.Ve=function(a){this.Xe(Hw(a))};
_.We=function(a){UC(this,a)};_.Xe=function(a){var b=this.be().pb,c,d,e;c=(mx(),nx);e=a.c;d=a.b;e!=c.c?b.style[ge]=j+e+If:b.style[ge]=j;d!=c.b?b.style[fe]=d:b.style[fe]=j;0!=(a.d&1)?b.style[ie]=qd:b.style[ie]=j;0!=(a.d&2)?b.style[he]=Ge:b.style[he]=j};_.Ye=function(a){WC=a};_.Ze=function(){};var WC=_.f=null,SC;function Zx(a,b){RC();VC.call(this);this.b=new ru(a);this.b.Sc()[zd]=j;A(this.b,new XC(this,b),(Qo(),Qo(),Ro))}s(491,492,{},Zx);_.be=function(){return this.b};_.We=function(a){UC(this,a)};
_.b=null;function XC(a,b){this.b=a;this.c=b}s(493,1,{},XC);_.vc=function(a){No();Oo(a,this.c,this.b.b.pb.textContent)};_.b=null;_.c=null;function cy(a){RC();VC.call(this);this.b=new rv;A(this.b,new YC(this,a),(Ko(),Ko(),Lo))}s(494,492,{},cy);_.be=function(){return this.b};_.b=null;function YC(a,b){this.b=a;this.c=b}s(495,1,{},YC);_.b=null;_.c=null;function ZC(a,b){var c,d;UC(a,b.xd());for(d=new Th(b.Gb.b);d.c<d.e.ie();)c=Uh(d),c.Xb&&c.Tb.Se(c)}
function $C(a,b){var c,d,e,f,g,h,i;Bi(a.e,b.Ed(),b.Ad());for(d=new Th(b.Gb.b);d.c<d.e.ie();)c=Uh(d),c.Xb&&(e=c.Tb,e.Ve(c),h=c.Fd(),i=c.Gd(),g=c.Ed(),f=c.Ad(),0<g&&0<f&&(c=e.be(),g-=TC(e).c,f-=TC(e).b,Bi(e.be(),g,f),!c.ob&&a.e.hd(c),a.e.jd(c,h,i)))}function rx(){RC();VC.call(this);this.e=new Lt}s(496,492,{},rx);_.Se=function(a){ZC(this,a)};_.be=function(){return this.e};_.Ve=function(a){$C(this,a)};_.e=null;
function cz(a){RC();VC.call(this);var b=this.b=new Qu;wu(b.c,a,!1);Iu(b);this.f.b=-1;this.f.c=-1}s(497,492,{},cz);_.be=function(){return this.b};_.fe=function(){var a;a=(this.b.c.d?pn(this.b.c.b):this.b.c.b).textContent;return null==a||0==a.length};_.b=null;function fz(a){this.b=new Lv(a.i,new aD(a))}s(498,1,{},fz);_.b=null;
function Hv(a){var b;b=new Kz(a.b,null!=a.b.d?a.b.d:a.b.i);a=(No(),No(),$w).b;a.j=!1;if(a=a.d)b=b.b,C(b,(bD(),cD).c)?sp(XA(a)):C(b,dD.c)?sp(tp(a)):C(b,eD.c)?(b=a.t,b.b=new up(a),vp(),wp(b)):UA(a,b)}function aD(a){this.b=a}s(499,1,Ch,aD);_.hc=function(){Hv(this)};_.b=null;function wz(){RC();VC.call(this);this.b=new jw}s(500,492,{},wz);_.Re=function(){var a;a=new wz;fw(a.b,"123456789");a.f.b=-1;a.f.c=-1;return a};_.be=function(){return this.b};_.Ue=function(){return fD};_.Ye=function(a){fD=a};
var fD=_.b=null;s(501,496,{});function gD(a){var b;b=new dp(nn(a.pb,Af),nn(a.pb,zf));a=new dp(nn(a.T.jb.pb,Af),nn(a.T.jb.pb,zf));return D(E,r,-1,[b.c-a.c,b.b-a.b])}function hD(a){if(null!=a.R&&null!=a.Q){var b=a.Q;a.Xc(a.R);a.Vc(b);a.R=a.Q=null}else null!=a.R?(iD(a,a.R),a.R=null):null!=a.Q&&(jD(a,a.Q),a.Q=null);Oi(a.S)}function kD(a){a.kb?a.bf(gp(a.T.jb)):(a.rd(),kD(a))}function jD(a,b){var c;a.kb?(c=gD(a),a.bf(new dp(-1,lD(b,!1)-c[1]))):a.Q=b}
function mD(a,b){var c;b!=a.md()&&(c=a.T.jb,rt(c),nD(c,b,c.pb,c.q.d,!0))}function iD(a,b){var c;a.kb?(c=gD(a),a.bf(new dp(lD(b,!0)-c[0],-1))):a.R=b}s(504,271,nh);_.$e=function(){var a,b;b=gp(this.T.jb);a=gD(this);b.c+=a[0];b.b+=a[1];return b};_.md=function(){var a;a=this.T.jb;return 0!=a.q.d?oD(ww(a.q,0)):null};_._e=function(a){pD(this.T.jb,a)};_.gd=function(){return new st(this.T.jb)};_.af=function(){kp(this.T.jb)};_.bd=function(){hD(this)};_.ud=function(){kp(this.T.jb)};
_.dd=function(a){return qD(this.T.jb,a)};_.bf=function(a){ip(this.T.jb,a)};_.Vc=function(a){jD(this,a)};_.nd=function(a){mD(this,a)};_.Xc=function(a){iD(this,a)};_.Q=null;_.R=null;function rD(){rD=u;var a=(sD(),tD(),uD);vD=new hv(a.e,a.c,a.d,a.f,a.b)}function wD(a,b){if(0!=a.I.b.q.d&&oD(ww(a.I.b.q,0)))throw new mt("WindowPanel can only contain one child widget");xD(a,b)}
function yD(a){try{a.w=!1;var b,c,d;d=a.hb;c=a.ab;d||(a.pb.style[Gg]=Ee,a.ab=!1,a.rd());b=a.pb;b.style[Le]=0+(Ii(),Jf);b.style[ug]=db;zD(a,Ti(rn($doc)+(Ci()-nn(a.pb,Af)>>1),0),Ti(sn($doc)+(Di()-nn(a.pb,zf)>>1),0));d||((a.ab=c)?(a.pb.style[Cd]=Qf,a.pb.style[Gg]=Hg,sj(a.gb,200)):a.pb.style[Gg]=Hg)}finally{a.w=!0}}
function AD(a,b){var c;if(a.w){c=new Js;a.mb&&bq(a.mb,c);a.J&&hp(a.r,a);try{ai(a.r.d,a)}catch(d){if(d=Zh(d),!y(d,112))throw d;}a.n=BD(a.r,a);try{St(a,b)}finally{di(a.t.b),di(a.s.b),di(a.u.b),a.P&&gi(a.P,a.r),a.C&&(a.C=!1)}}else St(a,b)}function CD(a,b,c){var d,e;e=a.ob;d=new Qi(a,e);e.jd(a,d.b+b,d.e+c)}function DD(a,b,c){b=new ED(qn(pn(Qs(Qs(a.T.d,b),c))));qt(b,a);A(b,a.o,(Qo(),Qo(),Ro));return b}function fp(a,b){a.J&&(0<=b.c&&(a.q=b.c),0<=b.b&&(a.p=b.b));ip(a.T.jb,b)}
function zD(a,b,c){var d,e;(e=a.r)?(d=FD(e.pb),Vt(a,b+(Yi(e.pb)+d[3]),c+($i(e.pb)+d[0]))):Vt(a,b,c)}function Qy(a,b){a.J!=b&&(a.J=b,a.hb&&(b?jp(a.r,a):hp(a.r,a)))}function xD(a,b){if(b!=(0!=a.I.b.q.d?oD(ww(a.I.b.q,0)):null)){rt(a.I.b);var c=a.I.b;nD(c,b,c.pb,c.q.d,!0)}}
function GD(a,b){var c;if(a.O!=b){c=a.O;a.O=b;a.kb&&c==(ap(),HD)&&(a.O=a.G);var d,e;if(a.P)for(e=new Th(a.P);e.c<e.e.ie();)if(d=Uh(e),b==(ap(),ID)){!d.c&&(d.c=new JD);d=a;var f=c,g=void 0,h=void 0;if(d.J&&f==(ap(),bp))g=d.r,h=d.F,d.I.d?(zD(d,h.d,h.e),fp(d,new dp(h.c,-1))):(zD(d,h.d,h.e),fp(d,new dp(h.c,h.b)),jp(g,d)),Xh(g.d,d,d.I.c),xj(d.z,333);else if(!d.C&&f==(ap(),HD))d.pb.style[Gg]=Hg,ap()}else if(b==bp){!d.c&&(d.c=new JD);d=a;var f=c,i=h=g=void 0;if(d.J){h=d.r;g=FD(h.pb);i=d.F;if(d.I.d)i.d=Yi(d.pb)-
g[3]-Yi(h.pb),i.e=$i(d.pb)-g[0]-$i(h.pb),d.F=i,zD(d,0,0),KD(d,cp(h.pb).c,-1);else{if(f!=(ap(),HD))i.d=Yi(d.pb)-g[3]-Yi(h.pb),i.e=$i(d.pb)-g[0]-$i(h.pb),i.c=d.q,i.b=d.p,d.F=i;zD(d,0,0);ip(d,new LD(cp(h.pb)));hp(h,d)}d==d.r.b||MD(d);xj(d.z,333)}}else b==HD&&(!d.c&&(d.c=new JD),d=a,d.C||(d.G=c,d.pb.style[Gg]=Ee))}}function ND(a,b){a.pb.style[Lg]=b+1E4+(a.C?1E3:0)+j;(a.C||a.bb)&&null.kf().kf()}
function OD(a){if(!a.kb){a.t=kt(a,a.r,(!Np&&(Np=new Jj),Np));a.s=kt(a,a.r,Ij?Ij:Ij=new Jj);a.u=kt(a,a.r,(!Sp&&(Sp=new Jj),Sp));var b=a.r;!a.P&&(a.P=new oi);hi(a.P,b);Np&&(b=new Mp(a),a.mb&&bq(a.mb,b));a.J&&jp(a.r,a);Xh(a.r.d,a,a.I.c);a.n&&(Vt(a,a.n.b,a.n.c),a.n=null);Wt(a);MD(a)}}function MD(a){if(a!=a.r.b){var b;Sp&&(b=new Rp(a),a.mb&&bq(a.mb,b))}}
function PD(a,b,c){var d=(cu(),du);Xt.call(this,!1,"popup");this.U=d.b;this.S=new QD(this);d=new RD;d.pb[zd]="mosaic-popupLayoutPanel";Pt(this.T,d);Ut(this);this.o=new SD(this);this.z=new TD(this);this.A=new UD(this);this.B=new VD(this);this.F=new WD;this.O=(ap(),ID);this.J=c;this.r=a;a=this.I=new XD(b);b=new YD;!a.e&&(a.e=new ZD);hi(a.e,b);a=new $D(new jv(vD.b.e.b,vD.b.c,vD.b.d,vD.b.f,vD.b.b));A(a,new aE(this),(Qo(),Qo(),Ro));b=this.I.c;b.c||(b.c=new fv,b.c.Sc()[zd]="mosaic-Caption-iconBoxRight",
c=b.c,d=(Zu(),$u),c.d=d,c=b.i,bE(c,b.c,new cE(2),c.q.d));if(0<b.c.q.d){c=b.c;if(0>c.q.d)throw new Ct;d=dv(c);Ys(c.c,(ls(),ms(d)),0);Bt(c,a,d,0,!1)}else cv(b.c,a);pD(b.i,null);A(this.I.c,new dE(this),(Yo(),Yo(),Zo));A(this.I.c,this.o,Ro);mD(this,this.I);Vh(qn(pn(this.pb)),"mosaic-WindowPanel",!0)}s(503,504,nh);_.md=function(){return 0!=this.I.b.q.d?oD(ww(this.I.b.q,0)):null};_.pd=function(a){AD(this,a)};_.gd=function(){return new st(this.I.b)};_.bd=function(){hD(this);Oi(new eE(this))};
_.dd=function(a){return qD(this.I.b,a)};_.bf=function(a){fp(this,a)};_.qd=function(a,b){zD(this,a,b)};_.nd=function(a){xD(this,a)};_.rd=function(){OD(this)};_.n=null;_.p=0;_.q=0;_.r=null;_.s=null;_.t=null;_.u=null;_.v=null;_.w=!0;_.x=null;_.y=null;_.C=!1;_.D=null;_.E=null;_.G=null;_.H=null;_.I=null;_.J=!1;_.K=null;_.L=null;_.M=null;_.N=null;_.P=null;var vD;function fE(a){a.i=(new Yx(a.j)).Tb.be();A(a.i,new gE(a),(Qo(),Qo(),Ro));a.e=D(hE,k,58,[a.i])}
function iE(){rD();var a,b,c,d,e,f;PD.call(this,(jE(),kE),null,!0);this.ef();this.db=!0;a=new Su(this.k);this.f=new iw;this.f.pb.style[Jg]=gb;this.f.pb.style[De]=gb;this.cf();iD(this,"400px");f=new vw;f.pb.style[De]=gb;f.f[vd]=10;c=(Lu(),Wu);f.b=c;uw(f,a);uw(f,this.f);e=new fv;e.f[vd]=20;for(b=this.e,c=0,d=b.length;c<d;++c)a=b[c],cv(e,a);uw(f,e);wD(this,f);Qy(this,!1);this.df()}s(502,503,nh,iE);_.cf=function(){fE(this)};
_.df=function(){var a=this.f;a.pb.readOnly=!0;var b=ft(a.pb)+"-readonly";Vh(a.Sc(),b,!0)};_.ef=function(){Py(this.I.c,"Copy")};_.e=null;_.f=null;_.i=null;_.j="Close";_.k="Press Ctrl-C (Command-C on Mac) or right click (Option-click on Mac) on the selected text to copy it, then paste into another program.";function gE(a){this.b=a}s(505,1,{},gE);_.vc=function(){AD(this.b,!1)};_.b=null;function lE(a){this.b=a}s(506,1,{},lE);
_.hc=function(){it(this.b.f.pb,!0);this.b.f.pb.focus();var a=this.b.f,b;b=on(a.pb,Eg).length;if(0<b&&a.kb){if(0>b)throw new Eu("Length must be a positive integer. Length: "+b);if(b>on(a.pb,Eg).length)throw new Eu("From Index: 0  To Index: "+b+"  Text Length: "+on(a.pb,Eg).length);try{a.pb.setSelectionRange(0,0+b)}catch(c){}}};_.b=null;function yz(){new dq}s(507,398,{},yz);function mE(a){rD();iE.call(this);this.d=a}s(508,502,nh,mE);
_.cf=function(){fE(this);this.b=(new Yx(this.c)).Tb.be();A(this.b,new nE(this),(Qo(),Qo(),Ro));this.e=D(hE,k,58,[this.b,this.i])};_.df=function(){this.f.pb.style[De]="350px"};_.ef=function(){this.j="Cancel";this.k="Paste the text to import into the text area below.";this.c="Accept";Py(this.I.c,"Paste")};_.rd=function(){OD(this);cn(($m(),an),new oE(this))};_.b=null;_.c=null;_.d=null;function nE(a){this.b=a}s(509,1,{},nE);
_.vc=function(){if(this.b.d){var a=this.b.d,b;b=new Kz(a.b,on(this.b.f.pb,Eg));a=a.b.b;b=b.b;if(null!=b){var c=a.b.vb,d,e,f,g;if(null!=b&&(d=BB(b,"\\$\\$\\$\\$\n?"),!(1>=d.length)))for(f=0,g=d.length;f<g;++f)e=d[f],Hq(c.c,c.d++,e);b=AB(b);try{pE(a.b,b)?(xp(a.b,"Structure pasted"),tC(a.b)):(NA(new OA(a.b.I,a.b,PA)),TA(a.b)),EA(a.b)}catch(h){if(h=Zh(h),y(h,112))b=a.b,b.gb=!0,b.I="ERROR - invalid MOL ",NA(new OA(a.b.I,a.b,PA)),EA(a.b);else throw h;}}}AD(this.b,!1)};_.b=null;function oE(a){this.b=a}
s(510,1,{},oE);_.hc=function(){it(this.b.f.pb,!0);this.b.f.pb.focus()};_.b=null;function wp(a){a&&a&&(a=new qE(a),a=new mE(a),kD(a),yD(a))}function qE(a){this.b=a}s(512,1,{},qE);_.b=null;function Ry(a,b){RC();rx.call(this);this.d=new rE(a);var c=this.c=new fv,d=(Lu(),Wu);c.b=d;cv(this.c,this.e);wD(this.d,this.c);this.d.b=this;this.b=b;var c=new sE(this),d=this.d,e=(!Qp&&(Qp=new Jj),Qp);Vp((!d.y&&(d.y=new tE),d.y),e,c)}s(513,501,{},Ry);_.be=function(){return this.d};_.Te=function(){return this.c.ob};
_.od=function(){AD(this.d,!1)};_.Xe=function(){};_.Ze=function(a){ZC(this,a);$C(this,a);kD(this.d);OD(this.d)};_.b=null;_.c=null;_.d=null;function sE(a){this.b=a}s(514,1,{},sE);_.Cc=function(){};_.b=null;function rE(a){rD();PD.call(this,(jE(),kE),a,!1)}s(515,503,nh,rE);_.od=function(){var a=this.b,b=new Ky(a.b,201),c;a=a.b.p;a.b?a=new uE(new Th(a.b)):(a=(lq(),lq(),mq),a=new Th(a));for(;a.Hc();)c=a.Ic(),201==b.e&&vE(c.b)};_.b=null;function wE(a,b,c,d){b=Iw(b);c+=b.b;d+=b.c;Vt(a.b,c,d);Wt(a.b)}
function mz(){RC();VC.call(this);var a=this.b=new xE;a.ab=!0;a.b.i=!0;this.b.db=!0}s(516,492,{},mz);_.be=function(){return this.b};_.b=null;function Xz(){}s(522,414,{},Xz);function yE(a){a.Tb.d.hb&&Jy(a)}function vE(a){var b;if(a.Tb.d.hb){b=Iw(a);var c=a.i,d=b.c;c.b=b.b;c.c=d}Ly(a)}function NA(a){var b=a.i;zD(a.Tb.d,b.b,b.c);!Hw(a)&&lx(a);Ww(a)}function zE(){Oy.call(this,j);this.f=new Yx(this.ff());Bx(this.p,new AE(this))}s(524,376,yh);
_.vd=function(a,b){return a.i==this.f?(vE(this),!0):this.gf(a,b)};_.ff=function(){return"Close"};_.gf=function(){return!1};_.od=function(){vE(this)};_.f=null;_.i=null;function OA(a,b,c){zE.call(this);this.Tb&&Qy(this.Tb.d,!1);Ny(this,!1);ox(this,new Yy(0));a=new bz(a,1);L(this,a,null);a=new sx;L(a,this.f,null);L(this,a,null);b&&(this.i=Iw(b),My(this),Kw(this.i,~~(nn(b.Fb.pb,Af)/2)-~~(this.Yb/2),~~(nn(b.Fb.pb,zf)/2)-~~(this.Ob/2)));c&&K(this,c)}s(523,524,yh,OA);_.ff=function(){return"OK"};
function IA(){this.b=this.c=new BE}s(525,1,{},IA);_.b=null;function BE(){this.b=null}function CE(a){this.b=a}s(526,1,{},BE,CE);_.b=null;_.c=null;_.d=null;function AE(a){this.b=a}s(527,406,{},AE);_.b=null;function DE(){DE=u;EE=D(Mq,k,1,["Copyright (c) 2013, Novartis Institutes for BioMedical Research Inc. and Bruno Bienfait.","All rights reserved."]);PA=(dy(),gy);FE=qy(PA);GA=v(GE,k,86,23,0);HA=v(Mq,k,1,23,0);HE=v(GE,k,86,7,0)}
function SA(a){var b;if(a.tb)b=IE(a,1)+tb+IE(a,2)+tb+IE(a,3);else if(b=IE(a,0),0<b.length){var c=new JE(a.Y);hi(a.$.b,c)}return b}
function KE(a,b,c,d){var e,f,g,h,i,l,m,n;if(!a.mb&&(h=c-b+1,!(0>=h||b>a.ob||c>a.ob))){e=v(pC,k,-1,4,1);l=v(pC,k,-1,99,1);g=n=m=0;for(f=b;f<=c;++f)qC(a.cb[f],e),m+=e[2],n+=e[3],e[3]>g&&(g=e[3]),l[f]=e[2],2==d&&(l[f]=e[3]);a.x&&(m+=25*(h+1),n+=25*(h+1),g+=25);(0==a.A.c||0==a.A.b)&&(a.A=xx(a));0==a.A.c&&(a.A.c=400);0==a.A.b&&(a.A.b=300);i=f=1;e=a.A.c;h=a.A.b;a.x||(e-=a.X,h-=3*a.X);1==d||3==d?e=~~((e-48)/2):2==d&&(h=~~(h/2));m>=e&&(f=e/m);g>=h&&(i=h/g);g=0;a.x&&(a.z=f<i?f:i,g=25*e/m,2==d&&(g=25*h/n));
for(f=b;f<=c;++f)2==d?l[f]=l[f]*h/n:l[f]=l[f]*e/m;m=-e/2;n=0;1==d?m=-e-24:3==d?m=24:2==d&&(m=0,n=-h);for(f=b;f<=c;++f){if(a.x){for(b=1;b<=a.cb[f].t;++b)a.cb[f].J[b]*=a.z,a.cb[f].M[b]*=a.z;LE(a.cb[f])}2==d?n+=l[f]/2+g:m+=l[f]/2+g;for(b=1;b<=a.cb[f].t;++b)a.cb[f].J[b]+=m,a.cb[f].M[b]+=n;2==d?n+=l[f]/2:m+=l[f]/2;a.x||uC(a.cb[f])}}}
function ME(a){var b;a.ib=!0;a.c=202;a.lb=!1;if(0!=a.ob){a.ib=!0;a.f=!0;for(b=a.e;b<a.ob;++b)a.cb[b]=a.cb[b+1];--a.ob;a.e=a.ob;0<a.ob?a.Y=a.cb[a.e]:(a.Y=new NE(a),a.Y.r=0)}}function AA(a,b){var c,d,e;e=new lz;c=Ic;d="MOL";b&&(c="SMIRKS",d="RXN");c=new ez(Ob+c);var f=(bD(),cD).c;c.d=f;kz(e,c);Bx(c.e,a);c=new ez(Ob+d);c.d=dD.c;Bx(c.e,a);kz(e,c);kz(e,new ez(Da));c=new ez("Paste "+d);c.d=eD.c;Bx(c.e,a);kz(e,c);Bw(a,e);return e}
function OE(a,b,c,d){var e,f,g;g=100*d+c;f=(c-1)*(a.X+a.Q);e=(d-1)*(a.X+a.Q);1==c&&2<d&&(e-=2*a.X);Y(b,PA);a.kb?(g==a.c&&Y(b,ry(PA)),Ty(b,f,e,a.X,a.X),Y(b,(dy(),iy)),LC(b,f,e,a.X-1,a.X-1)):g==a.c?Sy(b,f+1,e+1,a.X,a.X,!1):Sy(b,f,e,a.X,a.X,!0);if(!(1301==g&&!a.sb||112==g))if(107!=g||a.qb)if(201!=g||a.Ab)if(103!=g||a.fb)if(!(105==g&&!a.nb&&!a.q)&&(109!=g||a.tb))if(c=~~(a.X/4),3>d)switch(Y(b,(dy(),jy)),g){case 101:Y(b,my);g=f+3;var d=e+3,c=a.X-6,h=a.X-6;IC(b,!0);GC(b,JC(b,g,d,c,h));Y(b,jy);g=f+3;d=e+
3;c=a.X-6;h=a.X-6;IC(b,!1);GC(b,JC(b,g,d,c,h));HC(b,f+6,e+6,a.X-12,a.X-12,-35,-110);Ty(b,f+9,e+9,2,4);Ty(b,f+a.X-10,e+9,2,4);0.04>Math.random()&&(Y(b,ky),Ty(b,f+10,e+18,4,4));0.96<Math.random()&&(Y(b,my),Ty(b,f+a.X-10,e+8,2,3));break;case 112:PE(a,b,f,e,Qb);break;case 107:Y(b,ly);Ty(b,f+4,e+4,a.X-8,a.X-8);Y(b,jy);LC(b,f+4,e+4,a.X-8,a.X-8);HC(b,f+6,e+6,a.X-11,a.X-12,-35,-110);Ty(b,f+9,e+9,2,4);Ty(b,f+a.X-10,e+9,2,4);break;case 108:g=~~(a.X/4);X(b,f+g,e+a.X-g,f+a.X-g,e+g);g=~~(a.X/2)-g;d=e+~~(2*a.X/
3);f+=~~(a.X/2);X(b,f,d,f+g,d);e+=~~(a.X/3);a=f-g;X(b,a,e,f,e);a=~~((a+f)/2);e-=~~(g/2);X(b,a,e,a,e+g);break;case 110:QE(b,f,e,a.X,!0);break;case 111:QE(b,f,e,a.X,!1);break;case 109:X(b,f+c,e+~~(a.X/2),f+a.X-c,e+~~(a.X/2));X(b,f+a.X-c,e+~~(a.X/2),f+a.X-~~(3*c/2),e+~~(a.X/2)+~~(c/2));X(b,f+a.X-c,e+~~(a.X/2),f+a.X-~~(3*c/2),e+~~(a.X/2)-~~(c/2));break;case 102:Y(b,ey);Ty(b,f+3,e+5,a.X-7,a.X-11);Y(b,jy);LC(b,f+3,e+5,a.X-7,a.X-11);break;case 103:Y(b,PA);a.lb&&Sy(b,f+1,e+1,a.X,a.X,!1);Y(b,jy);PE(a,b,f,
e,"NEW");break;case 106:Y(b,ky);X(b,f+7,e+7,f+a.X-7,e+a.X-7);X(b,f+8,e+7,f+a.X-6,e+a.X-7);X(b,f+7,e+a.X-7,f+a.X-7,e+7);X(b,f+8,e+a.X-7,f+a.X-6,e+7);Y(b,jy);X(b,f+c,e+~~(a.X/2),f+12,e+~~(a.X/2));PE(a,b,f+6,e,tc);break;case 104:Y(b,ky);X(b,f+7,e+7,f+a.X-7,e+a.X-7);X(b,f+8,e+7,f+a.X-6,e+a.X-7);X(b,f+7,e+a.X-7,f+a.X-7,e+7);X(b,f+8,e+a.X-7,f+a.X-6,e+7);Y(b,jy);break;case 105:a.zb?(Y(b,oy),X(b,f+11,e+5,f+9,e+9),X(b,f+9,e+9,f+4,e+9),X(b,f+4,e+9,f+8,e+12),X(b,f+8,e+12,f+6,e+18),X(b,f+6,e+18,f+11,e+15),X(b,
f+12,e+5,f+14,e+9),X(b,f+14,e+9,f+19,e+9),X(b,f+19,e+9,f+15,e+12),X(b,f+15,e+12,f+17,e+18),X(b,f+17,e+18,f+12,e+15),Y(b,jy)):PE(a,b,f,e,"123");break;case 113:Y(b,py);Ty(b,f+4,e+4,a.X-8,a.X-8);Y(b,jy);LC(b,f+4,e+4,a.X-8,a.X-8);RE(a,b,f+1,e-1,ey,"i");break;case 201:X(b,f+c,e+~~(a.X/2),f+a.X-c,e+~~(a.X/2)+2);X(b,f+c,e+~~(a.X/2),f+a.X-c,e+~~(a.X/2)-2);X(b,f+a.X-c,e+~~(a.X/2)+2,f+a.X-c,e+~~(a.X/2)-2);break;case 202:X(b,f+c,e+~~(a.X/2),f+a.X-c,e+~~(a.X/2));break;case 203:X(b,f+c,e+~~(a.X/2)-2,f+a.X-c,e+
~~(a.X/2)-2);X(b,f+c,e+~~(a.X/2)+2,f+a.X-c,e+~~(a.X/2)+2);break;case 204:X(b,f+c,e+~~(a.X/2),f+a.X-c,e+~~(a.X/2));X(b,f+c,e+~~(a.X/2)-2,f+a.X-c,e+~~(a.X/2)-2);X(b,f+c,e+~~(a.X/2)+2,f+a.X-c,e+~~(a.X/2)+2);break;case 205:X(b,f+~~(c/2),e+2*c+~~(c/3),f+3*~~(c/2),e+2*c-~~(c/3));a=rb+(f+3*~~(c/2))+ja+(e+2*c-~~(c/3))+ha+(f+5*~~(c/2))+ka+(e+2*c+~~(c/3))+ga+b.e+ea+b.b+bb;GC(b,a);e=rb+(f+5*~~(c/2))+ja+(e+2*c+~~(c/3))+ha+(f+7*~~(c/2))+ka+(e+2*c-~~(c/3))+ga+b.e+ea+b.b+bb;GC(b,e);break;case 206:SE(a,b,f,e+2,3);
break;case 207:SE(a,b,f,e,4);break;case 208:SE(a,b,f,e,5);break;case 209:SE(a,b,f,e,1);break;case 210:SE(a,b,f,e,6);break;case 211:SE(a,b,f,e,7);break;case 212:SE(a,b,f,e,8);break;case 213:PE(a,b,f,e,"FG"),a.E=new hz(f,e)}else d=3,301==g?d=3:401==g?d=4:501==g?d=5:601==g?d=8:701==g?d=9:801==g?d=10:901==g?d=11:1001==g?d=12:1101==g?d=7:1201==g?d=18:1301==g&&(d=19),null!=HA[d]&&RE(a,b,f,e,GA[d],HA[d])}
function TE(a){var b,c,d;a.gb&&(d=a.H.b,c=a.A.c-a.X,b=a.X,Y(d,PA),Ty(d,0,0,c,b),a.kb?(Y(d,(dy(),iy)),LC(d,-1,0,c,b-1)):(Y(d,FE),X(d,0,0,c-1-2,0),Y(d,ry(PA)),X(d,0,b-1,c-1,b-1),X(d,c-1,0,c-1,b-1)),NC(d,a.V),Y(d,(dy(),jy)),0==a.I.indexOf("E")&&Y(d,ky),MC(d,a.I,10,15),cC(a.Fb,a.H,a.X,a.A.b-a.X))}
function UE(a){var b,c,d,e;if(a.hb){d=a.O.b;c=a.X;b=a.A.b-2*a.X-a.Q;Y(d,PA);Ty(d,0,0,c,b);a.kb?(Y(d,(dy(),iy)),X(d,0,b-1,c,b-1),e=BA*(a.X+a.Q)+2,X(d,0,e,c,e),X(d,0,e,0,b),X(d,a.X-1,e,a.X-1,b-a.X)):(Y(d,FE),X(d,0,0,0,b-1),X(d,0,BA*a.X,b-1,BA*a.X),Y(d,ry(PA)),X(d,c-1,0,c-1,b-1-a.X),X(d,0,b-1,c-1,b-1));for(b=3;b<=BA+2;++b)OE(a,d,1,b);cC(a.Fb,a.O,0,2*a.X+a.Q)}}
function VE(a){var b,c,d,e;if(a.ib){e=a.bb.b;c=a.A.c-a.X;b=a.A.b-3*a.X-a.Q;Y(e,a.s);Ty(e,0,0,c,b);for(d=1;d<=a.ob;++d){var f=a.cb[d],g=e,h=void 0,i=void 0,l=void 0,m=void 0,n=void 0,o=l=void 0,q=void 0,w=void 0,F=w=n=m=void 0,z=o=void 0,J=m=q=n=h=void 0,N=m=h=void 0,S=i=n=i=void 0,$=w=z=void 0,M=$=q=o=l=z=m=q=F=J=o=void 0,M=i=o=n=n=J=M=S=h=N=N=F=S=o=o=N=S=void 0,w=z=1,l=2,$=3;f.w&&(LE(f),KE(f.n,1,f.n.ob,0),f.w=!1);1!=f.n.z&&(l*=f.n.z,$*=f.n.z,h=1,0.7>f.n.z&&(h=1.2),h=G(f.n.C*f.n.z*h),f.n.k=new Gy(Yb,
0,h),f.n.n=null);f.n.y&&(Y(g,(dy(),jy)),LC(g,0,0,f.n.A.c-1,f.n.A.b-1));if(0!=f.t){if(-1==f.k){m=I(H(Math.round(12*l)));for(h=1;h<=f.t;++h)0<f.c[h]&&7>f.c[h]&&(Y(g,(DE(),HE)[f.c[h]]),i=g,n=G(f.J[h]-m/2),N=G(f.M[h]-m/2),S=M=m,IC(i,!0),GC(i,JC(i,n,N,M,S)));for(h=1;h<=f.u;++h)i=f.H[h],m=f.I[h],0!=f.c[i]&&f.c[i]==f.c[m]&&(Y(g,(DE(),HE)[f.c[i]]),o=f.J[m]-f.J[i],z=f.M[m]-f.M[i],w=Math.sqrt(o*o+z*z),1>w&&(w=1),z/=w,w=o/w,q=3*$*z,o=3*$*w,N=v(E,r,-1,4,1),n=v(E,r,-1,4,1),N[0]=G(f.J[i]+q),n[0]=G(f.M[i]-o),N[1]=
G(f.J[m]+q),n[1]=G(f.M[m]-o),N[2]=G(f.J[m]-q),n[2]=G(f.M[m]+o),N[3]=G(f.J[i]-q),n[3]=G(f.M[i]+o),m=g,i=N,IC(m,!0),GC(m,QC(m,i,n,4,!0)))}for(h=1;h<=f.u;++h){Y(g,(dy(),jy));i=f.H[h];m=f.I[h];1==f.k&&0!=f.c[i]&&f.c[i]==f.c[m]&&Y(g,(DE(),HE)[f.c[i]]);if(3==f.B[h]||4==f.B[h])n=i,i=m,m=n;S=f.J[i];M=f.M[i];N=f.J[m];n=f.M[m];if(1!=f.s[h]||0!=f.B[h])o=N-S,z=n-M,w=Math.sqrt(o*o+z*z),1>w&&(w=1),z/=w,w=o/w;switch(f.s[h]){case 2:10<=f.B[h]&&Y(g,ny);q=l*z;o=l*w;X(g,I(H(Math.round(S+q))),I(H(Math.round(M-o))),I(H(Math.round(N+
q))),I(H(Math.round(n-o))));X(g,I(H(Math.round(S-q))),I(H(Math.round(M+o))),I(H(Math.round(N-q))),I(H(Math.round(n+o))));Y(g,jy);break;case 3:m=I(H(Math.round(S)));i=I(H(Math.round(M)));N=I(H(Math.round(N)));n=I(H(Math.round(n)));X(g,m,i,N,n);S=I(H(Math.round($*z)));M=I(H(Math.round($*w)));X(g,m+S,i-M,N+S,n-M);X(g,m-S,i+M,N-S,n+M);break;case 9:case 0:for(i=0;10>i;++i)F=S-(S-N)/10*i,J=M-(M-n)/10*i,X(g,I(H(Math.round(F))),I(H(Math.round(J))),I(H(Math.round(F))),I(H(Math.round(J))));NC(g,f.n.k);m=Iy(f.n.n.d).b;
o=f.f[h];i=ub;null!=o&&(i=o);o=qz(f.n.n,i);S=I(H(Math.round((S+N)/2-o/2)));o=I(H(Math.round((M+n)/2+~~(m/2)-1)));Y(g,ny);MC(g,i,S,o);Y(g,jy);break;default:if(1==f.B[h]||3==f.B[h])q=$*z,o=$*w,J=v(E,r,-1,3,1),F=v(E,r,-1,3,1),J[0]=I(H(Math.round(N+q))),F[0]=I(H(Math.round(n-o))),J[1]=I(H(Math.round(S))),F[1]=I(H(Math.round(M))),J[2]=I(H(Math.round(N-q))),F[2]=I(H(Math.round(n+o))),m=g,i=J,n=F,IC(m,!0),GC(m,QC(m,i,n,3,!0));else if(2==f.B[h]||4==f.B[h]){q=$*z;o=$*w;for(i=0;10>i;++i)F=S-(S-N)/10*i,J=M-
(M-n)/10*i,m=i/10,X(g,I(H(Math.round(F+q*m))),I(H(Math.round(J-o*m))),I(H(Math.round(F-q*m))),I(H(Math.round(J+o*m))))}else X(g,I(H(Math.round(S))),I(H(Math.round(M))),I(H(Math.round(N))),I(H(Math.round(n))))}}w=v(pC,k,-1,f.t+1,1);z=v(E,r,-1,f.t+1,1);for(h=1;h<=f.u;++h)i=f.H[h],m=f.I[h],l=f.J[i],n=f.J[m],++z[i],++z[m],w[i]=w[i]/z[i]+n/z[i],w[m]=w[m]/z[m]+l/z[m];NC(g,f.n.k);m=Iy(f.n.n.d).b;M=v(Mq,k,1,f.t+1,0);N=v(E,r,-1,f.t+1,1);n=v(E,r,-1,f.t+1,1);l=v(WE,k,94,f.t+1,0);for(h=1;h<=f.t;++h)i=XE(f,h),
(null==i||1>i.length)&&(i=za),3==f.d[h]&&0<f.z[h]&&0==f.A[h]?(M[h]=i,N[h]=n[h]=qz(f.n.n,i),l[h]=YE(f,h,N[h],N[h],m,!1)):(S=w[h]<f.J[h],F=!0,1<z[h]&&(0>=w[h]-f.J[h]?0-(w[h]-f.J[h]):w[h]-f.J[h])<25*f.n.z/3&&(F=!1),2<z[h]&&(F=!1),1==z[h]&&(0>=w[h]-f.J[h]?0-(w[h]-f.J[h]):w[h]-f.J[h])<25*f.n.z/10&&(S=!0),o=i,J=j,f.n.xb&&0<f.x[h]&&(J+=Xb,1<f.x[h]&&(J+=f.x[h])),q=j,0!=f.A[h]&&(1<Ui(f.A[h])&&(q+=Ui(f.A[h])),0<f.A[h]?q+=Aa:q+=Da),S||!F?i=i+J+q+j:i=q+J+j+i,F||(o=i),M[h]=i,o=qz(f.n.n,o),q=qz(f.n.n,i),N[h]=o,
n[h]=q,q=l[h]=YE(f,h,o,q,m,S),S=q.d+1+1,o=q.e+m,Y(g,f.n.s),-1==f.k&&0!=f.c[h]&&Y(g,(DE(),HE)[f.c[h]]),Ty(g,q.d,q.e,q.c,q.b),1==f.k?0!=f.c[h]?Y(g,(DE(),HE)[f.c[h]]):Y(g,(dy(),jy)):Y(g,(DE(),GA)[f.d[h]]),MC(g,i,S,o));for(i=1;i<=f.y;++i)h=f.q[i][0],o=N[h],q=n[h],S=I(H(xB(f.J[h]-o/2))),o=I(H(xB(f.M[h]+~~(m/2)-1))),Y(g,(dy(),ny)),MC(g,ca+f.q[i][1],S+q,o);if(0<f.D||0<f.E)if(Y(g,104==f.n.c?(dy(),ky):(dy(),py)),0<f.D&&106!=f.n.c&&(q=l[f.D],LC(g,q.d,q.e,q.c,q.b)),0<f.E&&(i=f.H[f.E],m=f.I[f.E],o=f.J[m]-f.J[i],
z=f.M[m]-f.M[i],w=Math.sqrt(o*o+z*z),1>w&&(w=1),z/=w,w=o/w,q=($+1)*z,o=($+1)*w,J=v(E,r,-1,5,1),F=v(E,r,-1,5,1),J[0]=I(H(xB(f.J[i]+q))),J[1]=I(H(xB(f.J[m]+q))),F[0]=I(H(xB(f.M[i]-o))),F[1]=I(H(xB(f.M[m]-o))),J[3]=I(H(xB(f.J[i]-q))),J[2]=I(H(xB(f.J[m]-q))),F[3]=I(H(xB(f.M[i]+o))),F[2]=I(H(xB(f.M[m]+o))),J[4]=J[0],F[4]=F[0],106!=f.n.c&&($=g,h=J,z=F,IC($,!1),GC($,QC($,h,z,5,!0))),106==f.n.c&&ZE(f,f.H[f.E],f.I[f.E]))){$=0;for(h=1;h<=f.t;++h)0<f.b[h]&&++$;if($>~~(f.t/2))for(h=1;h<=f.t;++h)0<f.b[h]?f.b[h]=
0:f.b[h]=1;Y(g,(dy(),ky));for(h=1;h<=f.t;++h)0<f.b[h]&&(q=l[h],LC(g,q.d,q.e,q.c,q.b))}}}a.x||(a.kb?(Y(e,(dy(),iy)),X(e,c-1,0,c-1,b-1)):(Y(e,ry(PA)),X(e,c-1,0,c-1,b-1),Y(e,PA),X(e,c-2,0,c-2,b-1),Y(e,FE),X(e,c-3,0,c-3,b-1)));a.tb&&(d=~~((c-48)/2),Y(e,(dy(),ny)),X(e,d,~~(b/2),d+48,~~(b/2)),X(e,d+48,~~(b/2),d+48-6,~~(b/2)+6),X(e,d+48,~~(b/2),d+48-6,~~(b/2)-6));a.x&&(a.R=new Gy(Yb,0,a.C),a.U=new pz(a.R),null!=a.ab&&(d=qz(a.U,a.ab),c=I(H(Math.round((c-d)/2))),b-=a.C,Y(e,(dy(),jy)),NC(e,a.R),MC(e,a.ab,c,
b)));cC(a.Fb,a.bb,a.X,2*a.X+a.Q)}}function SE(a,b,c,d,e){var f,g,h,i,l;f=~~(a.X/4);g=!1;i=v(E,r,-1,9,1);l=v(E,r,-1,9,1);c+=~~(a.X/2);d+=~~(a.X/2);a=~~(a.X/2)-~~(f/2);1==e&&(e=6,g=!0);for(f=0;f<=e;++f)h=6.283185307179586/e*(f-0.5),i[f]=G(c+a*Math.sin(h)),l[f]=G(d+a*Math.cos(h));f=e+1;IC(b,!1);GC(b,QC(b,i,l,f,2<f));if(g){for(f=0;f<=e;++f)h=6.283185307179586/e*(f-0.5),i[f]=G(c+(a-3)*Math.sin(h)),l[f]=G(d+(a-3)*Math.cos(h));X(b,i[0],l[0],i[1],l[1]);X(b,i[2],l[2],i[3],l[3]);X(b,i[4],l[4],i[5],l[5])}}
function $E(a){var b,c,d;if(a.jb){d=a.Cb.b;b=a.A.c;c=2*a.X+a.Q;Y(d,PA);Ty(d,0,0,b,c);a.kb?(Y(d,(dy(),iy)),c=13*(a.X+a.Q),LC(d,c,0,b-c-1,2*a.X+a.Q-1)):(Y(d,ry(PA)),X(d,b-1,0,b-1,c-1),X(d,0,c-1,b-1-2,c-1),Y(d,FE),X(d,0,0,b-1,0));c=a.c;233<=a.c&&262>=a.c&&(a.c=213);for(b=1;13>=b;++b)OE(a,d,b,1),OE(a,d,b,2);a.c=c;cC(a.Fb,a.Cb,0,0)}}
function QE(a,b,c,d,e){var f,g,h,i,l,m,n,o;l=~~(d/4);m=2+~~(l/2);g=2+l;o=c+~~(10*d/24);i=o+l;n=b+d;e?(h=2+b,f=m+b,g+=b):(f=n-m,h=n-2,g=n-g);X(a,h,o,f,i);X(a,g,o,f,i);h=~~(l/3);X(a,f,o+h,f,i);f=d-m-4;i=270;e?(b+=m,e=270):(b=n-f-m,i*=-1,e=-90);HC(a,b,c+m-h,f,d-4-h-1,e,i)}
function pE(a,b){var c,d,e,f,g,h,i;TA(a);if(0==b.indexOf("$RXN")){a.tb=!0;a.fb=!0;g=aF(b);i=new sA(b,g,!0);d=j;for(c=1;5>=c;++c)d=bF(i,g);c=tB($z(kn(d.substr(0,3)),10)).b;f=tB($z(kn(d.substr(3,3)),10)).b;bF(i,g);for(d=1;d<=c+f;++d){for(e=j;!(h=bF(i,g),null==h||C(h,"$MOL"));)e+=h+g;a.cb[++a.ob]=new cF(a,e)}KE(a,1,c,1);KE(a,c+1,c+f,3)}else{a.tb=!1;a.Y=new cF(a,b);if(!a.Y||0==a.Y.t)return a.gb=!0,a.I="ERROR - problems in reading/processing MOL input",EA(a),!1;null!=a.i&&a.Y&&KA(a.Y,a.i,!0);null!=a.j&&
a.Y&&KA(a.Y,a.j,!1);g=dF(a.Y,!1);if(1==g)a.cb[++a.ob]=a.Y;else{a.fb=!0;for(d=1;d<=g;++d)a.cb[++a.ob]=new eF(a,a.Y,d)}a.e=1;a.Y=a.cb[a.e];KE(a,1,g,0)}EA(a);return!0}
function fF(a,b){var c,d,e,f,g,h,i,l;TA(a);c=f=0;l=new sA(b,"|>",!0);e=-1<b.indexOf(tb);h=1;g=lA(l);a.ob=0;for(d=1;d<=g;++d)if(i=pA(l),kn(i),!C(i,Mg))if(C(i,tb))++h,2==h?f=a.ob:3==h&&(c=a.ob+1);else{a.Y=new VA(a,i);if(0==a.Y.t)return a.gb=!0,a.I="ERROR - problems in reading/processing molecule !",Mz(),!1;++a.ob;a.e=a.ob;a.cb[a.ob]=a.Y}if(2==h)return a.gb=!0,a.I="ERROR - strange reaction - fixing !",Mz(),!1;if(3<h)return a.gb=!0,a.I="ERROR - strange reaction !",Mz(),!1;1<a.ob&&!e&&DA(a,qf);e&&!a.tb&&
DA(a,Pf);!e&&a.tb&&DA(a,uf);e?(KE(a,1,f,1),KE(a,f+1,c-1,2),KE(a,c,a.ob,3)):KE(a,1,a.ob,0);EA(a);return!0}function xp(a,b){a.gb=!0;a.I=b}
function Bp(a,b){var c,d;if(0!=b){rC(a);c=a.c;a.c=b;if(300>=b)switch(a.jb=!0,a.hb=!0,b){case 102:ME(a);d=a.Z;d.b=d.c;d.c.d=null;break;case 110:a.ib=!0;a.c=c;a.Z.b!=a.Z.c&&a.Z.b.c!=a.Z.c?a.f&&(++a.ob,a.e=a.ob,a.f=!1):(a.gb=!0,a.I="No more undo");if(!(a.Z.b!=a.Z.c&&a.Z.b.c!=a.Z.c))break;d=a.Z;if(!(d.b!=d.c&&d.b.c!=d.c))throw new mt("Cannot undo. Index is out of range.");if(!d.b.c)throw new mt(ac);d.b=d.b.c;gF(a,d.b.b);a.ib=!0;break;case 111:a.c=c;if(a.Z.b.d)a.f&&(++a.ob,a.e=a.ob,a.f=!1);else{a.gb=!0;
a.I="No more redo";break}if(!a.Z.b.d)break;d=a.Z;if(!d.b.d)throw new mt("Cannot redo. Index is out of range.");if(!d.b.d)throw new mt(ac);d.b=d.b.d;gF(a,d.b.b);a.ib=!0;break;case 152:a.c=c;d=a.vb;0<d.b?(--d.b,d=gs(d,d.b)):d=null;null==d?(a.gb=!0,a.I=mc):(xp(a,ec+(a.vb.b+1)),d=AB(d),LA(a,d,!1));break;case 151:d=a.vb;d.b<d.d-1?(++d.b,d=gs(d,d.b)):d=null;null==d?(a.gb=!0,a.I=mc):(xp(a,ec+(a.vb.b+1)),d=AB(d),LA(a,d,!1));break;case 101:a.yb&&yE(a.yb);a.yb=new hF(1,a);a.c=c;break;case 107:!a.rb?a.rb=new iF(a):
a.rb.Tb.d.hb?MD(a.rb.Tb.d):NA(a.rb);break;case 113:a.b&&yE(a.b);a.b=new hF(0,a);a.c=c;break;case 103:a.ib=!0;a.lb=!0;a.c=c;break;case 105:a.ib=!0;a.q&&a.db&&(a.db=!1,FA(a.Y),a.c=c);a.w=1;break;case 112:Mz();case 109:a.c=c;d=jF(a.Y);if(2==d){a.gb=!0;a.I="Copying the agent not possible !";break}d=v(pC,k,-1,4,1);qC(a.Y,d);a.ib=!0;a.Y=new JE(a.Y);d=G(~~((a.A.c-a.X)/2)-d[0]);for(c=1;c<=a.Y.t;++c)a.Y.J[c]+=2*d;WA(a.Y);a.cb[++a.ob]=a.Y;a.e=a.ob;break;case 104:0<a.Y.D?(a.ib=!0,mC(a.Y,a.Y.D),a.Y.D=0,tC(a)):
0<a.Y.E&&(a.ib=!0,nC(a.Y,a.Y.E),a.Y.E=0,tC(a));vC(a.Y);break;case 213:a.c=c;if(!a.D){var e,f,g,h;h=new lz;for(d=a.F,e=0,f=d.length;e<f;++e)c=d[e],g=new ez(c),kz(h,g),g.d=c,Bx(g.e,a);Bw(a,h);a.D=h}wE(a.D.b,a,a.E.b,a.E.c)}else{a.hb=!0;a.jb=!0;switch(b){case 301:a.d=3;break;case 401:a.d=4;break;case 501:a.d=5;break;case 701:a.d=9;break;case 801:a.d=10;break;case 901:a.d=11;break;case 1001:a.d=12;break;case 601:a.d=8;break;case 1101:a.d=7;break;case 1300:a.d=1;break;case 1201:a.o&&(yE(a.o),a.o=null);
0==a.Y.D&&(a.o=new hF(2,a));a.d=18;break;case 1301:a.d=19;break;case 1302:a.d=20;break;case 1303:a.d=21;break;case 1304:a.d=22}0<a.Y.D&&(a.ib=!0,a.d!=a.Y.d[a.Y.D]&&18!=a.d&&(a.Y.d[a.Y.D]=a.d,a.Y.A[a.Y.D]=0,a.Y.x[a.Y.D]=0,tC(a)),18==a.d&&(d=on((yp(),zp).Tb.b.pb,Eg),kF(a.Y,a.Y.D,d),tC(a)),vC(a.Y))}EA(a)}}
function tp(a){var b,c,d;d=XA(a);c=j;if(a.tb){var e,f,g;g=Bq([4,a.ob+1]);for(f=1;3>=f;++f){e=0;for(b=1;b<=a.ob;++b)jF(a.cb[b])==f&&(g[f][++e]=b);g[f][0]=e}c=c+"$RXN\n\n\nJME Molecular Editor\n"+(lF(g[1][0],3)+lF(g[3][0],3)+aa);for(b=1;b<=g[1][0];++b)c+=oa+mF(a.cb[g[1][b]],d);for(b=1;b<=g[3][0];++b)c+=oa+mF(a.cb[g[3][b]],d)}else 1<a.ob&&(a.Y=new nF(a,a.cb,a.ob)),c=mF(a.Y,d),1<a.ob&&(a.Y=a.cb[a.e]);return c}
function jC(a,b,c,d){var e;e=c;var f=d,g,h;h=kC(b);g=0!=(b.f&2);h||g?(g=a.tb?(!a.v&&(a.v=AA(a,!0)),a.v):(!a.u&&(a.u=AA(a,!1)),a.u),wE(g.b,a,e,f),e=!0):e=!1;if(!e&&!a.x)if(a.gb=!1,a.Db=c-a.X,a.Eb=d-(2*a.X+a.Q),a.gb=!0,a.I=j,a.db=oC(b),a.eb=!1,c<a.X||d<2*a.X+a.Q){e=0;for(b=1;13>=b;++b)if(c<b*(a.X+a.Q)){e=b;break}c=0;for(b=1;b<=BA+2;++b)if(d<b*(a.X+a.Q)){c=b;break}0==e||0==c||(d=100*c+e,112==d||!a.qb&&107==d||!a.Ab&&201==d||!a.fb&&103==d||!a.nb&&!a.q&&105==d||!a.tb&&109==d||Bp(a,d))}else if(!(d>a.A.b-
a.X-1)){a.eb=!0;c-=a.X;d-=2*a.X+a.Q;if(0<a.Y.D)if(104==a.c)mC(a.Y,a.Y.D),a.Y.D=0,tC(a);else{if(106==a.c)return;if(108==a.c)oF(a.Y,a.Y.D,0),tC(a);else if(157==a.c)oF(a.Y,a.Y.D,1),tC(a);else if(158==a.c)oF(a.Y,a.Y.D,-1),tC(a);else if(202==a.c||203==a.c||204==a.c||201==a.c||205==a.c)a.N=1,W(a.Y,0),a.Y.F=a.Y.D,205==a.c?(a.Y.v=1,a.Y.j[1]=a.Y.t,a.Y.j[0]=a.Y.D,a.Y.E=0):tC(a);else if(206<=a.c&&229>=a.c)a.N=2,pF(a.Y),tC(a);else if(230==a.c)a.N=3,tC(a);else if(233<=a.c&&262>a.c)qF(a.Y,!1),tC(a),a.N=3;else if(107==
a.c){if(a.rb.c)return;kF(a.Y,a.Y.D,on(a.rb.e.Tb.b.pb,Eg));tC(a)}else if(105==a.c)rF(a.Y);else if(300<a.c&&(a.d!=a.Y.d[a.Y.D]||18==a.d))a.Y.d[a.Y.D]=a.d,a.Y.A[a.Y.D]=0,a.Y.x[a.Y.D]=0,18==a.d&&(d=on((yp(),zp).Tb.b.pb,Eg),1>d.length&&(d=Wc),kF(a.Y,a.Y.D,d)),tC(a)}else if(0<a.Y.E)if(104==a.c)nC(a.Y,a.Y.E),a.Y.E=0,tC(a);else if(106==a.c){d=a.Y;c=a.Y.E;if(0<d.b[d.H[c]]&&0<d.b[d.I[c]])xp(d.n,"Removal of substituent not possible.");else for(;;){c=0;for(b=d.t;1<=b;--b)0<d.b[b]&&b>c&&(c=b);if(0==c)break;mC(d,
c);d.b[c]=0}a.Y.E=0;tC(a)}else if(201==a.c)sF(a.Y,a.Y.E),tC(a);else if(202==a.c||205==a.c)1==a.Y.s[a.Y.E]&&0==a.Y.B[a.Y.E]?(a.Y.s[a.Y.E]=2,tC(a)):a.Y.s[a.Y.E]=1,a.Y.B[a.Y.E]=0;else if(203==a.c)a.Y.s[a.Y.E]=2,a.Y.B[a.Y.E]=0,tC(a);else if(204==a.c)a.Y.s[a.Y.E]=3,a.Y.B[a.Y.E]=0,tC(a);else if(206<=a.c&&229>=a.c)a.N=2,pF(a.Y),tC(a);else if(107==a.c){if(!a.rb.c)return;d=on(a.rb.e.Tb.b.pb,Eg);a.Y.s[a.Y.E]=9;a.Y.f[a.Y.E]=d;tC(a)}else 105==a.c&&(a.gb=!0,a.I="Only atoms may be marked !");else if(0==a.ob||a.lb){if(201>=
a.c)return;++a.ob;a.e=a.ob;a.cb[a.ob]=new NE(a);a.Y=a.cb[a.ob];a.lb=!1;202<=a.c&&204>=a.c||205==a.c?(tF(a.Y),a.Y.u=0,a.Y.z[1]=0,a.Y.J[1]=c,a.Y.M[1]=d,a.Y.D=1,a.Y.F=1,a.N=1,W(a.Y,0),205==a.c&&(a.Y.J[2]=c+21.65,a.Y.M[2]=d-12.5,a.Y.j[0]=1,a.Y.j[1]=2,a.Y.v=1)):206<=a.c&&229>=a.c?(a.Y.L=c,a.Y.O=d,a.N=2,pF(a.Y)):300<a.c?(tF(a.Y),a.Y.d[1]=a.d,a.Y.u=0,a.Y.z[1]=0,a.Y.J[1]=c,a.Y.M[1]=d,a.Y.D=1,18==a.d&&(d=on((yp(),zp).Tb.b.pb,Eg),1>d.length&&(d=Wc),kF(a.Y,1,d))):230==a.c?JA(a,null):233<=a.c&&262>a.c?(tF(a.Y),
a.Y.u=0,a.Y.z[1]=0,a.Y.J[1]=c,a.Y.M[1]=d,a.Y.D=1,qF(a.Y,!0)):Mz();tC(a)}vC(a.Y);a.hb=!1;a.jb=!1;a.ib=!0;EA(a)}}function rC(a){a.hb=!1;a.jb=!1;a.ib=!1}
function DA(a,b){var c,b=b.toLowerCase();-1<b.indexOf("norbutton")?a.sb=!1:-1<b.indexOf("rbutton")&&(a.sb=!0);-1<b.indexOf("nohydrogens")?a.xb=!1:-1<b.indexOf("hydrogens")&&(a.xb=!0);-1<b.indexOf("keephs")&&(a.M=!0);-1<b.indexOf("removehs")&&(a.M=!1);-1<b.indexOf("noquery")?a.qb=!1:-1<b.indexOf("query")&&(a.qb=!0);-1<b.indexOf(uf)?a.tb=!1:-1<b.indexOf(Pf)&&(a.tb=!0);-1<b.indexOf("noautoez")?a.p=!1:-1<b.indexOf("autoez")&&(a.p=!0);-1<b.indexOf("nostereo")?a.Ab=!1:-1<b.indexOf("stereo")&&(a.Ab=!0);
-1<b.indexOf("nocanonize")?a.r=!1:-1<b.indexOf("canonize")&&(a.r=!0);-1<b.indexOf("nomultipart")?a.fb=!1:-1<b.indexOf(qf)&&(a.fb=!0);-1<b.indexOf("nonumber")?(a.nb=!1,a.q=!1):-1<b.indexOf(yf)&&(a.nb=!0,a.q=!1);-1<b.indexOf("newlook")?(a.kb=!0,a.Q=1):-1<b.indexOf("oldlook")&&(a.kb=!1,a.Q=0);-1<b.indexOf("autonumber")&&(a.q=!0,a.nb=!0);-1<b.indexOf("star")&&(a.zb=!0,a.nb=!0);-1<b.indexOf("polarnitro")&&(a.pb=!0);-1<b.indexOf("depict")&&(a.x=!0,a.X=0,a.bb=null,KE(a,1,a.ob,0));if(-1<b.indexOf("nodepict")){a.x=
!1;for(c=1;c<=a.ob;++c)uF(a.cb[c]),LE(a.cb[c]);a.z=1;a.X=24;a.Y&&(a.Y.w=!0)}-1<b.indexOf(rd)&&(a.y=!0);b.indexOf("writesmi");b.indexOf("writemi");b.indexOf("writemol");-1<b.indexOf("nocenter")&&(a.mb=!0);-1<b.indexOf("jmeh")&&(a.L=!0);-1<b.indexOf("showan")&&(a.wb=!0);a.tb&&(a.q=!0,a.fb=!0);a.x||(a.y=!1);a.sb&&++BA;EA(a)}
function EA(a){var b,c,d;b=xx(a);!a.A||b.c!=a.A.c||b.b!=a.A.b||!a.bb||!a.H?(a.A=b,d=b.c-a.X,c=b.b-3*a.X-a.Q,1>d&&(d=1),1>c&&(c=1),a.bb=ux(a,d,c),VE(a),a.x||(a.Cb=ux(a,b.c,2*a.X+a.Q),$E(a),c=b.b-2*a.X+a.Q,1>c&&(c=1),a.O=ux(a,a.X,c),UE(a),a.H=ux(a,d,a.X),TE(a))):(VE(a),a.x||(TE(a),a.B&&($E(a),UE(a)),a.B=!0));a.hb=!0;a.jb=!0;a.ib=!0;a.gb=!0}
function RA(a,b){var c,d,e;e=j;for(d=1;d<=a.ob;++d){if(0<b&&(c=jF(a.cb[d]),c!=b))continue;c=a.cb[d];for(var f=void 0,g=void 0,h=void 0,i=void 0,l=g=f=void 0,m=void 0,h=void 0,m=j+c.t+ca+c.u,i=1;i<=c.t;++i){h=XE(c,i);c.n.L&&0<c.x[i]&&(h+=Xb,1<c.x[i]&&(h+=c.x[i]));0!=c.A[i]&&(0<c.A[i]?h+=Aa:h+=Da,1<Ui(c.A[i])&&(h+=Ui(c.A[i])));g=-1;for(f=1;f<=c.y;++f)if(c.q[f][0]==i){g=c.q[f][1];break}c.n.zb&&0<c.c[i]&&(g=1);-1<g&&(h+=nb+g);m+=ca+h+ca+vF(0.055999999999999994*c.J[i],0,2)+ca+vF(0.055999999999999994*-c.M[i],
0,2)}for(i=1;i<=c.u;++i)f=c.H[i],g=c.I[i],l=c.s[i],1==c.B[i]?l=-1:2==c.B[i]?l=-2:3==c.B[i]?(l=-1,h=f,f=g,g=h):4==c.B[i]?(l=-2,h=f,f=g,g=h):10==c.B[i]&&(l=-5),9==c.s[i]&&(l=c.B[i]),m+=ca+f+ca+g+ca+l;c=m;0<c.length&&(0<e.length&&(e+=Mg),e+=c)}return e}function IE(a,b){var c,d,e;e=j;for(c=1;c<=a.ob;++c){if(0<b&&(d=jF(a.cb[c]),d!=b))continue;d=wF(a.cb[c]);0<d.length&&(0<e.length&&(e+=Ya),e+=d)}return e}
function tC(a){var b,c,d,e;e=new xF;e.b=a.e;e.e=a.ob;c=!1;for(b=1;99>b;++b)if(d=a.cb[b])0<d.t&&(c=!0),e.c[b]=new JE(d),WA(e.c[b]);else break;e.f=a.tb;e.d=a.fb;if(b=c?e:null)a=a.Z,b=new CE(b),c=a.b.d,a.b.d=b,b.c=a.b,c&&(b.d=c,c.c=b),a.b=b}function LA(a,b,c){try{pE(a,b)?c&&tC(a):EA(a)}catch(d){if(d=Zh(d),y(d,112))EA(a);else throw d;}}function JA(a,b){try{fF(a,b)?tC(a):EA(a)}catch(c){if(c=Zh(c),y(c,112))EA(a);else throw c;}}
function TA(a){a.c=202;a.lb=!1;a.ob=0;a.e=0;a.Y=new NE(a);a.Y.r=0;a.ab=null;a.z=1;a.ib=!0;EA(a)}function gF(a,b){var c,d;a.e=b.b;a.ob=b.e;for(c=1;99>c;++c)(d=b.c[c])?(a.cb[c]=new JE(d),WA(a.cb[c])):a.cb[c]=null;a.Y=a.cb[a.e];a.tb=b.f;a.fb=b.d}
function UA(a,b){var c;c=-1;C(b,"Select substituent")?(c=202,b=j):C(b,Ja)?c=235:C(b,La)?c=240:C(b,Ha)?c=260:C(b,Pa)?c=261:C(b,Ua)?c=241:C(b,Oa)?c=233:C(b,Na)?c=236:C(b,Ma)?c=237:C(b,Ta)?c=234:C(b,Ra)?c=243:C(b,Va)?c=252:C(b,Qa)?c=244:C(b,Wa)?c=239:C(b,"-PO3H2")?c=251:C(b,Ga)?c=242:C(b,Ea)?c=245:C(b,Fa)&&(c=238);0<c?Bp(a,c):b="Not known group!";a.gb=!0;a.I=b;EA(a)}function XA(a){var b;b=SA(a);EA(a);return b}
function PE(a,b,c,d,e){var f,g;f=a.U;g=qz(f,e);g>=a.X?(f=a.W,g=qz(f,e),NC(b,a.V)):NC(b,a.R);f=Iy(f.d).b;MC(b,e,c+~~((a.X-g)/2),d+~~((a.X-f)/2)+f)}function RE(a,b,c,d,e,f){var g,h;g=Iy(a.T.d).b;h=qz(a.T,f);NC(b,a.S);(b.d=e)&&(b.e=Sf+(e.b>>16&255)+Ba+(e.b>>8&255)+Ba+(e.b&255)+ya);MC(b,f,c+~~((a.X-h)/2),d+~~((a.X-g)/2)+g)}function Ap(a,b){a.q?0==b&&(a.w=-1,a.gb=!0,a.I=Bd,EA(a)):(a.P?a.w=b:-1<a.w&&10>a.w?a.w=10*a.w+b:a.w=b,a.P=!1,0==a.w?(a.w=-1,a.gb=!0,a.I=Bd):xp(a,a.w+ca),EA(a))}
function xA(){DE();sx.call(this);this.Fb=(No(),No(),$w).b;this.s=(dy(),ey);this.cb=v(yF,k,127,99,0);this.$=new qx;this.vb=new zF;this.J=C((Mz(),Nz[He]),cc);this.t=new AF;this.F=D(Mq,k,1,[Ja,La,Ua,Ha,Pa,Oa,Na,Ma,Ta,Va,Qa,Ra,Ga,Fa,Ea]);this.Y=new NE(this);HE[0]=hy;HE[1]=new fy(255,153,153);HE[2]=new fy(255,204,102);HE[3]=new fy(255,255,153);HE[4]=new fy(102,255,255);HE[5]=new fy(51,204,255);HE[6]=new fy(255,153,255)}s(528,354,dh,xA);_.b=null;_.c=0;_.d=0;_.e=0;_.f=!1;_.i=null;_.j=null;_.k=null;_.n=null;
_.o=null;_.p=!1;_.q=!1;_.r=!0;_.u=null;_.v=null;_.w=1;_.x=!1;_.y=!1;_.z=1;_.A=null;_.B=!0;_.C=10;_.D=null;_.E=null;_.G="http://peter-ertl.com/jsme/2013_01/help.html";_.H=null;_.I=null;_.K=null;_.L=!1;_.M=!0;_.N=0;_.O=null;_.P=!0;_.Q=1;_.R=null;_.S=null;_.T=null;_.U=null;_.V=null;_.W=null;_.X=24;_.Y=null;_.Z=null;_._=null;_.ab=null;_.bb=null;_.db=!1;_.eb=!1;_.fb=!1;_.gb=!0;_.hb=!0;_.ib=!0;_.jb=!0;_.kb=!0;_.lb=!1;_.mb=!1;_.nb=!1;_.ob=0;_.pb=!1;_.qb=!1;_.rb=null;_.sb=!1;_.tb=!1;_.ub=!1;_.wb=!1;
_.xb=!0;_.yb=null;_.zb=!1;_.Ab=!0;_.Bb=null;_.Cb=null;_.Db=0;_.Eb=0;var BA=10,PA,FE,GA,EE,zA=null,HE,HA;function up(a){this.b=a}s(529,1,{},up);_.b=null;function bD(){bD=u;cD=new BF("COPY_SMILES",0);dD=new BF("COPY_MOL",1);eD=new BF("PASTE",2);CF=D(DF,k,126,[cD,dD,eD])}function BF(a,b){tn.call(this,a,b)}s(530,137,{106:1,109:1,111:1,126:1},BF);var CF,dD,cD,eD;function xF(){this.c=v(yF,k,127,99,0)}s(531,1,{},xF);_.b=0;_.d=!1;_.e=0;_.f=!1;
function EF(a){a.d=v(E,r,-1,20,1);a.A=v(E,r,-1,20,1);a.J=v(pC,k,-1,20,1);a.M=v(pC,k,-1,20,1);a.G=Bq([20,7]);a.c=v(E,r,-1,20,1);a.e=v(Mq,k,1,20,0);a.o=v(Mq,k,1,20,0);a.x=v(E,r,-1,20,1);a.z=v(E,r,-1,20,1);a.H=v(E,r,-1,20,1);a.I=v(E,r,-1,20,1);a.s=v(E,r,-1,20,1);a.B=v(E,r,-1,20,1);a.K=v(E,r,-1,20,1);a.N=v(E,r,-1,20,1);a.f=v(Mq,k,1,20,0);a.q=Bq([10,2]);a.j=v(E,r,-1,101,1)}
function FF(a,b,c,d){var e,f,g,h,i,l,m,n,o;i=v(E,r,-1,4,1);f=a.J[c]-a.J[b];g=a.M[c]-a.M[b];m=Math.sqrt(f*f+g*g);0.001>m&&(m=0.001);o=g/m;e=f/m;l=v(E,r,-1,4,1);for(h=0;4>h;++h)d[h]==c||0>=d[h]||(0==l[1]?l[1]=d[h]:0==l[2]?l[2]=d[h]:0==l[3]&&(l[3]=d[h]));n=v(pC,k,-1,4,1);d=v(pC,k,-1,4,1);for(h=1;3>=h;++h)3==h&&0==l[3]||(f=(a.J[l[h]]-a.J[b])*e+(a.M[l[h]]-a.M[b])*o,g=(a.M[l[h]]-a.M[b])*e-(a.J[l[h]]-a.J[b])*o,m=Math.sqrt(f*f+g*g),0.001>m&&(m=0.001),n[h]=g/m,d[h]=f/m);a=GF(n[1],d[1],n[2],d[2]);0<l[3]?(b=
GF(n[2],d[2],n[3],d[3]),d=GF(n[1],d[1],n[3],d[3]),0<a&&0<b?(i[1]=l[1],i[2]=l[2],i[3]=l[3]):0<d&&0>b?(i[1]=l[1],i[2]=l[3],i[3]=l[2]):0>a&&0<d?(i[1]=l[2],i[2]=l[1],i[3]=l[3]):0<b&&0>d?(i[1]=l[2],i[2]=l[3],i[3]=l[1]):0>d&&0<a?(i[1]=l[3],i[2]=l[1],i[3]=l[2]):0>b&&0>a&&(i[1]=l[3],i[2]=l[2],i[3]=l[1])):0<a?(i[1]=l[1],i[2]=l[2]):(i[1]=l[2],i[2]=l[1]);i[0]=c;return i}
function W(a,b){var c,d,e,f,g,h,i,l;tF(a);switch(a.z[a.D]){case 0:a.J[a.t]=a.J[a.D]+21.65*a.n.z;a.M[a.t]=a.M[a.D]+12.5*a.n.z;break;case 1:c=a.G[a.D][1];d=0;2==a.z[c]&&(a.G[c][1]==a.D?d=a.G[c][2]:d=a.G[c][1]);e=a.J[a.D]-a.J[c];f=a.M[a.D]-a.M[c];h=Math.sqrt(e*e+f*f);0.001>h&&(h=0.001);f/=h;e/=h;i=h+25*a.n.z*Math.cos(1.0471975511965976);l=25*a.n.z*Math.sin(1.0471975511965976);g=HF(a,a.D,c);if(3==a.s[g]||204==a.n.c||1!=a.s[g]&&(203==a.n.c||204==a.n.c)||a.p)i=h+25*a.n.z,l=0;0<d&&0<(a.M[d]-a.M[c])*e-(a.J[d]-
a.J[c])*f&&(l=-l);0<b&&0>l?l=-l:0>b&&0<l&&(l=-l);a.J[a.t]=a.J[c]+i*e-l*f;a.M[a.t]=a.M[c]+l*e+i*f;break;case 2:c=v(pC,k,-1,2,1);IF(a,a.D,25*a.n.z,c);a.J[a.t]=c[0];a.M[a.t]=c[1];break;case 3:case 4:case 5:for(g=1;g<=a.z[a.D]&&!(c=a.G[a.D][g],e=a.J[a.D]-a.J[c],f=a.M[a.D]-a.M[c],h=Math.sqrt(e*e+f*f),0.001>h&&(h=0.001),a.J[a.t]=a.J[a.D]+25*a.n.z*e/h,a.M[a.t]=a.M[a.D]+25*a.n.z*f/h,0==lC(a,a.t)||g==a.z[a.D]);++g);break;default:--a.t;xp(a.n,"Are you trying to draw an hedgehog ?");a.n.N=9;return}a.z[a.t]=
1;++a.z[a.D];sC(a);a.s[a.u]=1;203==a.n.c&&(a.s[a.u]=2);204==a.n.c&&(a.s[a.u]=3);a.H[a.u]=a.D;a.I[a.u]=a.t;201==a.n.c&&sF(a,a.u);a.G[a.t][1]=a.D;a.G[a.D][a.z[a.D]]=a.t;a.K[a.u]=I(H(xB((a.J[a.D]+a.J[a.t])/2)));a.N[a.u]=I(H(xB((a.M[a.D]+a.M[a.t])/2)));a.L=a.J[a.t];a.O=a.M[a.t]}
function qF(a,b){var c;a.F=a.D;c=0;if(233==a.n.c||237==a.n.c||236==a.n.c||239==a.n.c||251==a.n.c||252==a.n.c)W(a,0),a.D=a.t,a.p=!0,W(a,0),a.p=!1,a.D=a.t-1,W(a,0),a.D=a.t-2,W(a,0),237==a.n.c&&(a.d[a.t]=10,a.d[a.t-1]=10,a.d[a.t-2]=10),236==a.n.c&&(a.d[a.t]=9,a.d[a.t-1]=9,a.d[a.t-2]=9),239==a.n.c&&(a.d[a.t]=5,a.d[a.t-1]=5,a.d[a.t-2]=5,a.d[a.t-3]=8,a.s[a.u]=2,a.s[a.u-1]=2),252==a.n.c&&(a.d[a.t]=5,a.d[a.t-1]=5,a.d[a.t-2]=4,a.d[a.t-3]=8,a.s[a.u]=2,a.s[a.u-1]=2),251==a.n.c&&(a.d[a.t]=5,a.d[a.t-1]=5,a.d[a.t-
2]=5,a.d[a.t-3]=7,a.s[a.u]=2),c=4;else if(244==a.n.c)W(a,0),a.d[a.t]=4,a.D=a.t,W(a,0),a.d[a.t]=8,a.D=a.t,a.p=!0,W(a,0),a.p=!1,a.D=a.t-1,W(a,0),a.d[a.t]=5,a.s[a.u]=2,a.D=a.t-2,W(a,0),a.d[a.t]=5,a.s[a.u]=2,c=5;else if(234==a.n.c)W(a,0),a.d[a.t]=4,a.D=a.t,a.n.pb&&oF(a,a.D,1),W(a,0),a.d[a.t]=5,a.s[a.u]=2,a.D=a.t-1,W(a,0),a.d[a.t]=5,a.n.pb?(a.s[a.u]=1,oF(a,a.t,-1)):a.s[a.u]=2,c=3;else if(235==a.n.c)W(a,0),a.D=a.t,W(a,0),a.d[a.t]=5,a.D=a.t-1,W(a,0),a.d[a.t]=5,a.s[a.u]=2,c=3;else if(240==a.n.c)W(a,0),a.D=
a.t,W(a,0),a.d[a.t]=5,a.D=a.t,W(a,0),a.D=a.t-2,W(a,0),a.d[a.t]=5,a.s[a.u]=2,c=4;else if(260==a.n.c)W(a,0),a.D=a.t,W(a,0),a.d[a.t]=4,a.D=a.t-1,W(a,0),a.d[a.t]=5,a.s[a.u]=2,c=3;else if(261==a.n.c)W(a,0),a.d[a.t]=4,a.D=a.t,W(a,0),a.D=a.t,W(a,0),a.d[a.t]=5,a.s[a.u]=2,c=3;else if(241==a.n.c)W(a,0),a.d[a.t]=5,a.D=a.t,W(a,0),a.D=a.t,W(a,0),a.D=a.t-1,W(a,0),a.s[a.u]=2,a.d[a.t]=5,c=4;else if(243==a.n.c)W(a,0),a.d[a.t]=4,a.D=a.t,W(a,0),a.D=a.t-1,W(a,0),c=3;else if(238==a.n.c)W(a,0),a.D=a.t,a.p=!0,W(a,0),a.s[a.u]=
3,a.p=!1,c=2;else if(249==a.n.c)W(a,0),a.D=a.t,W(a,0),a.s[a.u]=2,a.d[a.t]=5,c=2;else if(250==a.n.c)W(a,0),a.s[a.u]=2,a.d[a.t]=5,c=1;else if(245==a.n.c)W(a,0),a.D=a.t,a.p=!0,W(a,0),a.D=a.t,a.s[a.u]=3,W(a,0),a.p=!1,c=3;else if(242==a.n.c)W(a,0),a.D=a.t,a.p=!0,W(a,0),a.s[a.u]=3,a.d[a.t]=4,a.p=!1,c=2;else if(254==a.n.c)W(a,0),a.d[a.t]=9,c=1;else if(255==a.n.c)W(a,0),a.d[a.t]=10,c=1;else if(256==a.n.c)W(a,0),a.d[a.t]=11,c=1;else if(257==a.n.c)W(a,0),a.d[a.t]=12,c=1;else if(258==a.n.c)W(a,0),a.d[a.t]=4,
c=1;else if(259==a.n.c)W(a,0),a.d[a.t]=5,c=1;else if(246==a.n.c)W(a,0),a.D=a.t,W(a,0),c=2;else if(247==a.n.c)W(a,0),a.D=a.t,W(a,0),a.D=a.t,W(a,0),c=3;else if(248==a.n.c)W(a,0),a.D=a.t,W(a,0),a.D=a.t,W(a,0),a.D=a.t,W(a,0),c=4;else if(253==a.n.c){var d,e,f,g,h,i,l,m,n,o,q;if(a.n.Bb){c=0;m=a.n.Bb;for(l=1;l<=m.y;++l)d=m.q[l][0],1==m.q[l][1]&&(c=d);d=a.t;l=a.D;W(a,0);e=a.J[a.t];g=a.M[a.t];mC(a,a.t);e=a.J[l]-e;g=a.M[l]-g;i=Math.sqrt(e*e+g*g);g/=i;e/=i;for(i=1;i<=m.t;++i)tF(a),a.d[a.t]=m.d[i],a.A[a.t]=m.A[i],
a.x[a.t]=m.x[i],a.J[a.t]=m.J[i],a.M[a.t]=m.M[i];for(i=1;i<=m.u;++i)sC(a),a.H[a.u]=m.H[i]+d,a.I[a.u]=m.I[i]+d,a.s[a.u]=m.s[i];WA(a);a.D=c+d;W(a,0);m=a.J[a.t];o=a.M[a.t];mC(a,a.t);f=a.J[c+d]-m;h=a.M[c+d]-o;i=Math.sqrt(f*f+h*h);h/=i;f/=i;for(i=d+1;i<=a.t;++i)a.J[i]-=m,a.M[i]-=o,n=a.J[i]*f+a.M[i]*h,q=a.M[i]*f-a.J[i]*h,a.J[i]=n,a.M[i]=q,n=-a.J[i]*e+a.M[i]*g,q=-a.M[i]*e-a.J[i]*g,a.J[i]=n,a.M[i]=q,a.J[i]+=a.J[l],a.M[i]+=a.M[l];sC(a);a.H[a.u]=l;a.I[a.u]=c+d;WA(a);b&&(mC(a,l),LE(a))}c=4}JF(a,c);a.D=a.F;b&&
(a.D=0)}
function IF(a,b,c,d){var e,f,g,h,i;e=a.G[b][1];f=a.G[b][2];g=a.J[f]-a.J[e];h=-(a.M[f]-a.M[e]);i=Math.sqrt(g*g+h*h);0.001>i&&(i=0.001);h/=i;g/=i;1>(0>=(a.M[b]-a.M[e])*g+(a.J[b]-a.J[e])*h?0-((a.M[b]-a.M[e])*g+(a.J[b]-a.J[e])*h):(a.M[b]-a.M[e])*g+(a.J[b]-a.J[e])*h)?(g=a.J[b]-a.J[e],h=a.M[b]-a.M[e],i=Math.sqrt(g*g+h*h),0.001>i&&(i=0.001),h/=i,g/=i,d[0]=a.J[e]+i*g-c*h,d[1]=a.M[e]+c*g+i*h):(g=(a.J[e]+a.J[f])/2,e=(a.M[e]+a.M[f])/2,g=a.J[b]-g,h=a.M[b]-e,i=Math.sqrt(g*g+h*h),0.001>i&&(i=0.001),d[0]=a.J[b]+
c*g/i,d[1]=a.M[b]+c*h/i)}
function pF(a){var b,c,d,e,f,g,h,i,l,m,n,o,q;l=-1;h=6;switch(a.n.c){case 206:h=3;break;case 207:h=4;break;case 208:case 221:case 223:h=5;break;case 210:case 209:h=6;break;case 211:h=7;break;case 212:h=8;break;case 229:h=9}f=6.283185307179586/h;i=625*a.n.z*a.n.z/2/(1-Math.cos(f));i=Math.sqrt(i);if(0<a.D)if(2>a.z[a.D])KF(a,h,f,i);else if(a.n.db){if(209==a.n.c||221==a.n.c||223==a.n.c){xp(a.n,"ERROR - cannot add aromatic spiro ring !");a.n.N=9;return}for(d=1;d<=a.z[a.D];++d)if(b=a.s[HF(a,a.D,a.G[a.D][d])],
2<d||1!=b){xp(a.n,"ERROR - spiro ring not possible here !");a.n.N=9;return}b=v(pC,k,-1,2,1);IF(a,a.D,i,b);e=a.J[a.D]-b[0];g=a.M[a.D]-b[1];m=Math.sqrt(e*e+g*g);0.001>m&&(m=0.001);g/=m;e/=m;for(d=1;d<=h;++d)tF(a),n=f*d+1.5707963267948966,a.J[a.t]=b[0]+i*(Math.sin(n)*e-Math.cos(n)*g),a.M[a.t]=b[1]+i*(Math.cos(n)*e+Math.sin(n)*g)}else l=a.D,W(a,0),a.D=a.t,KF(a,h,f,i);else if(0<a.E){b=a.H[a.E];c=a.I[a.E];d=0;2==a.z[b]?a.G[b][1]!=c?d=a.G[b][1]:d=a.G[b][2]:2==a.z[c]&&(a.G[c][1]!=b?d=a.G[c][1]:d=a.G[c][2],
m=b,b=c,c=m);0==d&&(a.G[b][1]!=c?d=a.G[b][1]:d=a.G[b][2]);e=a.J[c]-a.J[b];g=a.M[c]-a.M[b];m=Math.sqrt(e*e+g*g);0.001>m&&(m=0.001);g/=m;e/=m;n=m/2;q=i*Math.sin(0.5*(3.141592653589793-f));m=1;0<(a.M[d]-a.M[b])*e-(a.J[d]-a.J[b])*g&&(q=-q,m=0);o=a.J[b]+n*e-q*g;q=a.M[b]+q*e+n*g;for(d=1;d<=h;++d)tF(a),n=f*(d+0.5)+3.141592653589793*m,a.J[a.t]=o+i*(Math.sin(n)*e-Math.cos(n)*g),a.M[a.t]=q+i*(Math.cos(n)*e+Math.sin(n)*g),1==m?(d==h&&(a.J[a.t]=a.J[b],a.M[a.t]=a.M[b]),d==h-1&&(a.J[a.t]=a.J[c],a.M[a.t]=a.M[c])):
(d==h-1&&(a.J[a.t]=a.J[b],a.M[a.t]=a.M[b]),d==h&&(a.J[a.t]=a.J[c],a.M[a.t]=a.M[c]))}else{b=0.5;6==h&&(b=0);for(d=1;d<=h;++d)tF(a),n=f*(d-b),a.J[a.t]=a.L+i*Math.sin(n),a.M[a.t]=a.O+i*Math.cos(n)}b=h;i=0;for(f=1;f<=b;++f)sC(a),a.s[a.u]=1,i=a.t-b+f,a.z[i]=2,a.H[a.u]=i,a.I[a.u]=i+1;a.I[a.u]=a.t-b+1;if(209==a.n.c){if(a.s[a.u-4]=2,a.s[a.u-2]=2,a.s[a.u]=2,0<a.E)if(1==a.s[a.E]){if(b=0,1<a.z[a.H[a.E]]&&(b=a.G[a.H[a.E]][1],i=a.H[a.E],b==a.I[a.E]&&(b=a.G[a.H[a.E]][2])),0==b&&1<a.z[a.I[a.E]]&&(b=a.G[a.I[a.E]][1],
i=a.I[a.E],b==a.I[a.E]&&(b=a.G[a.I[a.E]][2])),0<b)for(f=1;f<=a.u;++f)if(a.H[f]==b&&a.I[f]==i||a.H[f]==i&&a.I[f]==b){1!=a.s[f]&&(a.s[a.u-4]=1,a.s[a.u-2]=1,a.s[a.u]=1,a.s[a.u-5]=2,a.s[a.u-3]=2,a.s[a.u-1]=3);break}}else a.s[a.u-4]=1,a.s[a.u-2]=1,a.s[a.u]=1,a.s[a.u-5]=2,a.s[a.u-3]=2,a.s[a.u-1]=2}else if(221==a.n.c||223==a.n.c)if(0<a.E){if(1==a.s[a.E]){b=!1;for(f=1;f<=a.z[a.H[a.E]];++f)if(i=a.G[a.H[a.E]][f],1<a.s[HF(a,a.H[a.E],i)]){b=!0;break}for(f=1;f<=a.z[a.I[a.E]];++f)if(i=a.G[a.I[a.E]][f],1<a.s[HF(a,
a.I[a.E],i)]){b=!0;break}b||(a.s[a.E]=2)}a.s[a.u-4]=2;a.d[a.t-2]=5}else 0<a.D?221==a.n.c?(a.s[a.u-4]=1,a.s[a.u-2]=1,a.s[a.u-1]=1,a.s[a.u-3]=2,a.s[a.u]=2,a.d[a.t-1]=5):(a.s[a.u-3]=1,a.s[a.u-2]=1,a.s[a.u]=1,a.s[a.u-4]=2,a.s[a.u-1]=2,a.d[a.t-2]=5):(a.s[a.u-3]=1,a.s[a.u-2]=1,a.s[a.u]=1,a.s[a.u-4]=2,a.s[a.u-1]=2,a.d[a.t-2]=5);i=v(E,r,-1,a.t+1,1);for(f=1;f<=h;++f)b=a.t-h+f,c=a.u-h+f,a.G[b][1]=b-1,a.G[b][2]=b+1,b=a.H[c],e=a.I[c],a.K[c]=I(H(xB((a.J[b]+a.J[e])/2))),a.N[c]=I(H(xB((a.M[b]+a.M[e])/2)));a.G[a.t-
h+1][1]=a.t;a.G[a.t][2]=a.t-h+1;for(f=a.t-h+1;f<=a.t;++f){i[f]=0;g=51;c=0;for(b=1;b<=a.t-h;++b)e=a.J[f]-a.J[b],d=a.M[f]-a.M[b],e=e*e+d*d,50>e&&e<g&&(g=e,c=b);0<c&&(0==a.D||c==a.D)&&(i[f]=c)}g=a.u-h;f=g+1;a:for(;f<=g+h;++f)if(b=a.H[f],e=a.I[f],0<i[b]&&0<i[e]){for(c=1;c<=g;++c)if(a.H[c]==i[b]&&a.I[c]==i[e]||a.I[c]==i[b]&&a.H[c]==i[e])continue a;sC(a);a.s[a.u]=a.s[f];a.H[a.u]=i[b];a.G[i[b]][++a.z[i[b]]]=i[e];a.I[a.u]=i[e];a.G[i[e]][++a.z[i[e]]]=i[b];a.K[a.u]=I(H(xB((a.J[a.H[a.u]]+a.J[a.I[a.u]])/2)));
a.N[a.u]=I(H(xB((a.M[a.H[a.u]]+a.M[a.I[a.u]])/2)))}else 0<i[b]?(sC(a),a.s[a.u]=a.s[f],a.H[a.u]=i[b],a.G[i[b]][++a.z[i[b]]]=e,a.I[a.u]=e,a.G[e][++a.z[e]]=i[b],a.K[a.u]=I(H(xB((a.J[a.H[a.u]]+a.J[a.I[a.u]])/2))),a.N[a.u]=I(H(xB((a.M[a.H[a.u]]+a.M[a.I[a.u]])/2)))):0<i[e]&&(sC(a),a.s[a.u]=a.s[f],a.H[a.u]=i[e],a.G[i[e]][++a.z[i[e]]]=b,a.I[a.u]=b,a.G[b][++a.z[b]]=i[e],a.K[a.u]=I(H(xB((a.J[a.H[a.u]]+a.J[a.I[a.u]])/2))),a.N[a.u]=I(H(xB((a.M[a.H[a.u]]+a.M[a.I[a.u]])/2))));d=a.t-h;for(f=a.t;f>d;--f)if(0<i[f]&&
(mC(a,f),3==a.d[i[f]])){m=0;for(b=1;b<=a.z[i[f]];++b){e=a.G[i[f]][b];for(c=1;c<=a.u;++c)(a.H[c]==i[f]&&a.I[c]==e||a.H[c]==e&&a.I[c]==i[f])&&(m+=a.s[c])}if(4<m)for(c=g+1;c<=g+h;++c)a.s[c]=1}0<a.D&&JF(a,h);-1<l&&(a.D=l)}
function KF(a,b,c,d){var e,f,g,h,i,l;0==a.z[a.D]?(e=0,f=1):(e=a.G[a.D][1],f=a.J[a.D]-a.J[e],e=a.M[a.D]-a.M[e],g=Math.sqrt(f*f+e*e),0.001>g&&(g=0.001),e/=g,f/=g);i=a.J[a.D]+d*f;l=a.M[a.D]+d*e;for(g=1;g<=b;++g)tF(a),h=c*g-1.5707963267948966,a.J[a.t]=i+d*(Math.sin(h)*f-Math.cos(h)*e),a.M[a.t]=l+d*(Math.cos(h)*f+Math.sin(h)*e)}function JF(a,b){var c,d;0==b&&(b=a.t);for(c=a.t;c>a.t-b;--c)d=lC(a,c),0!=d&&(a.J[c]+=6,a.M[c]+=6)}
function HF(a,b,c){var d;for(d=1;d<=a.u;++d)if(a.H[d]==b&&a.I[d]==c||a.H[d]==c&&a.I[d]==b)return d;return 0}function LF(a,b,c){var d,e,f,g;e=Ng;for(f=g=0;;){++g;for(d=1;d<=a.t;++d)if(mr(c[d])){e=c[d];break}for(d=1;d<=a.t;++d)mr(c[d])&&!br(c[d],e)&&(e=c[d]);for(d=1;d<=a.t;++d)gr(c[d],e)&&(b[d]=g,c[d]=Ng,++f);if(f==a.t)break}return g==a.t}
function LE(a){var b,c,d;b=v(pC,k,-1,4,1);d=c=0;a.n&&a.n.A&&0<a.n.A.c&&(c=a.n.A.c-a.n.X,d=a.n.A.b-3*a.n.X);if(0>=c||0>=d)a.w=!0;else{qC(a,b);c=~~(c/2)-I(H(Math.round(b[0])));d=~~(d/2)-I(H(Math.round(b[1])));if(!a.n.mb)for(b=1;b<=a.t;++b)a.J[b]+=c,a.M[b]+=d;uC(a)}}
function qC(a,b){var c,d,e,f,g;f=9999;d=-9999;g=9999;e=-9999;for(c=1;c<=a.t;++c)a.J[c]<f&&(f=a.J[c]),a.J[c]>d&&(d=a.J[c]),a.M[c]<g&&(g=a.M[c]),a.M[c]>e&&(e=a.M[c]);b[0]=f+(d-f)/2;b[1]=g+(e-g)/2;b[2]=d-f;b[3]=e-g;25>b[2]&&(b[2]=25);25>b[3]&&(b[3]=25)}
function oF(a,b,c){var d;if(1==c)++a.A[b];else if(-1==c)--a.A[b];else switch(d=MF(a,b),-1==d&&0==c&&(0==a.A[b]?a.A[b]=1:1==a.A[b]?a.A[b]=-1:-1==a.A[b]&&(a.A[b]=0)),a.d[b]){case 2:2<d&&xp(a.n,"Charge change not possible on this boron !");0==a.A[b]?a.A[b]=1:1==a.A[b]&&(a.A[b]=0);break;case 3:3<d?xp(a.n,"Charge change not possible on this carbon !"):4>d&&(0==a.A[b]?a.A[b]=-1:-1==a.A[b]?a.A[b]=1:1==a.A[b]&&(a.A[b]=0));break;case 4:case 7:3<d?xp(a.n,"Charge change not possible on multibonded N or P !"):
3==d&&0==a.A[b]?a.A[b]=1:3==d&&1==a.A[b]?a.A[b]=0:3>d&&0==a.A[b]?a.A[b]=1:3>d&&1==a.A[b]?a.A[b]=-1:3>d&&-1==a.A[b]&&(a.A[b]=0);break;case 5:case 8:case 13:2<d?xp(a.n,"Charge change not possible on multibonded O or S !"):2==d&&0==a.A[b]?a.A[b]=1:2==d&&1==a.A[b]?a.A[b]=0:2>d&&0==a.A[b]?a.A[b]=-1:2>d&&-1==a.A[b]?a.A[b]=1:2>d&&1==a.A[b]&&(a.A[b]=0);break;case 9:case 10:case 11:case 12:0==d&&0==a.A[b]?a.A[b]=-1:0==d&&-1==a.A[b]?a.A[b]=0:xp(a.n,"Charge change not possible on the halogen !");break;case 18:xp(a.n,
"Use X button to change charge on the X atom !")}}
function dF(a,b){var c,d,e,f,g;f=0;g=!1;for(a.b=v(E,r,-1,a.t+1,1);;){for(e=1;e<=a.t;++e)if(0==a.b[e]){a.b[e]=++f;g=!0;break}if(!g)break;for(;g;){g=!1;for(e=1;e<=a.u;++e)c=a.H[e],d=a.I[e],0<a.b[c]&&0==a.b[d]?(a.b[d]=f,g=!0):0<a.b[d]&&0==a.b[c]&&(a.b[c]=f,g=!0)}}if(2>f||!b)return f;g=v(E,r,-1,f+1,1);for(c=1;c<=a.t;++c)++g[a.b[c]];e=0;for(c=d=1;c<=f;++c)g[c]>e&&(e=g[c],d=c);for(c=a.t;1<=c;--c)a.b[c]!=d&&mC(a,c);LE(a);xp(a.n,"Smaller part(s) removed !");return 1}
function lC(a,b){var c,d,e,f,g;f=51;g=0;for(e=1;e<a.t;++e)b!=e&&(c=a.J[b]-a.J[e],d=a.M[b]-a.M[e],c=c*c+d*d,50>c&&c<f&&(f=c,g=e));return g}
function wC(a){var b,c,d;for(d=1;d<=a.u;++d){b=a.H[d];c=a.I[d];if(1==a.A[b]&&-1==a.A[c]||-1==a.A[b]&&1==a.A[c])if(1==a.s[d]||2==a.s[d]){if(3!=a.d[b]&&3!=a.d[c]&&a.n.pb)continue;if(1==a.d[b]||1==a.d[c])continue;if(2==a.d[b]||2==a.d[c])continue;if(9==a.d[b]||10==a.d[b]||11==a.d[b]||12==a.d[b]||9==a.d[c]||10==a.d[c]||11==a.d[c]||12==a.d[c])continue;a.A[b]=0;a.A[c]=0;++a.s[d];vC(a)}1==a.A[b]&&1==a.A[c]&&(2==a.s[d]?a.s[d]=1:3==a.s[d]&&(a.s[d]=2),vC(a));4==a.s[d]&&(a.s[d]=1)}}
function GF(a,b,c,d){var e,f;f=e=0;0<=a&&0<=b?e=1:0<=a&&0>b?e=2:0>a&&0>b?e=3:0>a&&0<=b&&(e=4);0<=c&&0<=d?f=1:0<=c&&0>d?f=2:0>c&&0>d?f=3:0>c&&0<=d&&(f=4);if(e<f)return 1;if(e>f)return-1;switch(e){case 1:case 4:return a<c?1:-1;case 2:case 3:return a>c?1:-1}return 0}function WA(a){var b;NF(a);b=a.s.length;a.K=v(E,r,-1,b,1);a.N=v(E,r,-1,b,1);uC(a);vC(a)}
function tF(a){var b,c;++a.t;a.t>a.d.length-1&&(c=a.d.length+10,b=v(E,r,-1,c,1),HB(a.d,b,a.d.length),a.d=b,b=v(E,r,-1,c,1),HB(a.A,b,a.A.length),a.A=b,b=v(E,r,-1,c,1),HB(a.x,b,a.x.length),a.x=b,b=v(E,r,-1,c,1),HB(a.c,b,a.c.length),a.c=b,b=v(Mq,k,1,c,0),HB(a.e,b,a.e.length),a.e=b,b=v(Mq,k,1,c,0),HB(a.o,b,a.o.length),a.o=b,b=v(pC,k,-1,c,1),HB(a.J,b,a.J.length),a.J=b,b=v(pC,k,-1,c,1),HB(a.M,b,a.M.length),a.M=b,b=Bq([c,7]),HB(a.G,b,a.G.length),a.G=b,c=v(E,r,-1,c,1),HB(a.z,c,a.z.length),a.z=c);a.d[a.t]=
3;a.A[a.t]=0;a.c[a.t]=0;a.e[a.t]=null;a.x[a.t]=0}function YE(a,b,c,d,e,f){var g;g=I(H(xB(a.J[b]-c/2)));f||(g-=d-c);a=I(H(xB(a.M[b]-~~(e/2))));return new kx(g-1-1,a-1,d+1+2,e+2)}
function sC(a){var b,c;++a.u;a.u>a.s.length-1&&(b=a.s.length+10,c=v(E,r,-1,b,1),HB(a.H,c,a.H.length),a.H=c,c=v(E,r,-1,b,1),HB(a.I,c,a.I.length),a.I=c,c=v(E,r,-1,b,1),HB(a.s,c,a.s.length),a.s=c,c=v(E,r,-1,b,1),HB(a.B,c,a.B.length),a.B=c,c=v(E,r,-1,b,1),HB(a.K,c,a.K.length),a.K=c,c=v(E,r,-1,b,1),HB(a.N,c,a.N.length),a.N=c,b=v(Mq,k,1,b,0),HB(a.f,b,a.f.length),a.f=b);a.s[a.u]=1;a.B[a.u]=0;a.f[a.u]=null}
function mF(a,b){var c,d,e,f,g,h,i;if(0==a.t)return j;h=b;79<b.length&&(h=b.substr(0,76)+"...");h+=(DE(),aa);h+="JME 2013.01 "+new UB+"\n \n";h+=lF(a.t,3)+lF(a.u,3);h+="  0  0  0  0  0  0  0  0999 V2000\n";g=-1.7976931348623157E308;c=1.7976931348623157E308;for(e=1;e<=a.t;++e)a.M[e]>g&&(g=a.M[e]),a.J[e]<c&&(c=a.J[e]);for(e=1;e<=a.t;++e){h+=vF(0.055999999999999994*(a.J[e]-c),10,4)+vF(0.055999999999999994*(g-a.M[e]),10,4)+vF(0,10,4);i=XE(a,e);1==i.length?i+="  ":2==i.length?i+=ca:3<i.length&&(i="Q  ");
h+=ca+i;d=0;0<a.A[e]&&4>a.A[e]?d=4-a.A[e]:0>a.A[e]&&-4<a.A[e]&&(d=4-a.A[e]);i=" 0"+lF(d,3)+"  0  0  0  0  0  0  0";f=-1;for(d=1;d<=a.y;++d)if(a.q[d][0]==e){f=a.q[d][1];break}-1<f?i+=lF(f,3):i+="  0";h+=i+"  0  0\n"}for(e=1;e<=a.u;++e)g=a.s[e],1==a.s[e]?g=1:OF(a,e)&&(g=2),c=lF(a.H[e],3)+lF(a.I[e],3),d=0,1==a.s[e]&&1==a.B[e]?d=1:1==a.s[e]&&2==a.B[e]&&(d=6),1==a.s[e]&&3==a.B[e]&&(d=1,c=lF(a.I[e],3)+lF(a.H[e],3)),1==a.s[e]&&4==a.B[e]&&(d=6,c=lF(a.I[e],3)+lF(a.H[e],3)),h+=c+lF(g,3)+lF(d,3)+"  0  0  0\n";
for(e=1;e<=a.t;++e)0!=a.A[e]&&(h+="M  CHG  1"+lF(e,4)+lF(a.A[e],4)+aa);return h+"M  END\n"}
function wF(a){var b,c,d,e,f,g,h,i,l,m,n,o,q,w,F,z,J,N,S,$,M,fc,xc,Lf,lb,Dd,Ed,Fd,Sa,yc;n=v(E,r,-1,a.t+10,1);o=v(E,r,-1,a.t+10,1);l=v(E,r,-1,a.t+1,1);m=v(E,r,-1,7,1);lb=v(E,r,-1,a.t+1,1);w=v(PF,k,-1,a.t+1,2);F=v(PF,k,-1,a.u+1,2);fc=0;if(0==a.t)return j;dF(a,!0);Lf=!0;for(i=1;i<=a.u;++i)if(9==a.s[i]){Lf=!1;break}if(a.n.r&&Lf){QF(a);wC(a);RF(a,F);SF(a,w,F);var wb,kd,We,Ub,pe,ld,md,ab,xG,Id,t,qa,lm,mm,Qr,df,Ka,nm,om,Cc,pm;wb=v(E,r,-1,a.t+1,1);kd=v(E,r,-1,a.t+1,1);ab=v(TF,k,-1,a.t+1,3);var Rr=a.t,qm,
gh,Sr,ag,ej,we,ef;ej=v(TF,k,-1,Rr+2,3);we=v(E,r,-1,100,1);ef=5;ag=0;we[0]=3;ej[1]=Pg;ej[2]=Qg;Sr=2;if(!(3>Rr))for(;ef<we[ag]*we[ag];){gh=0;for(qm=!0;qm&&gh<=ag&&ef>=we[gh]*we[gh];)0==ef%we[gh]?qm=!1:++gh;if(qm){ej[++Sr]=jr(ef);if(Sr>=Rr)break;ag<we.length-1&&(++ag,we[ag]=ef)}ef+=2}for(t=1;t<=a.t;++t){for(qa=om=1;qa<=a.u;++qa)(a.H[qa]==t||a.I[qa]==t)&&(om*=a.i[qa]);nm=a.d[t];18==nm&&(pm=a.o[t],ld=pm.charCodeAt(0)-65+1,md=0,1<pm.length&&(md=pm.charCodeAt(1)-97),0>ld&&(ld=0),0>md&&(md=0),nm=28*ld+md);
df=0;-2>a.A[t]?df=1:-2==a.A[t]?df=2:-1==a.A[t]?df=3:1==a.A[t]?df=4:2==a.A[t]?df=5:2<a.A[t]&&(df=6);Cc=1;ab[t]=jr(om);Cc*=126;ab[t]=er(ab[t],jr(a.x[t]*Cc));Cc*=7;ab[t]=er(ab[t],jr(df*Cc));Cc*=7;ab[t]=er(ab[t],jr(nm*Cc));Cc*=783;ab[t]=er(ab[t],jr(a.z[t]*Cc))}for(pe=0;!LF(a,wb,ab);){Qr=!1;for(t=1;t<=a.t;++t)wb[t]!=kd[t]&&(kd[t]=wb[t],Qr=!0);if(Qr){for(t=1;t<=a.t;++t){ab[t]=Og;for(qa=1;qa<=a.z[t];++qa)ab[t]=nr(ab[t],ej[wb[a.G[t][qa]]])}pe=0}else if(0<pe){for(t=1;t<=a.t;++t)ab[t]=Og;t=1;a:for(;t<=a.t-
1;++t)for(qa=t+1;qa<=a.t;++qa)if(wb[t]==wb[qa]){ab[t]=Pg;break a}}else{for(t=1;t<=a.t;++t){ab[t]=Og;for(qa=1;qa<=a.z[t];++qa)We=a.G[t][qa],ab[t]=nr(ab[t],jr(a.d[We]*a.i[HF(a,t,We)]))}pe=1}LF(a,wb,ab);for(t=1;t<=a.t;++t)ab[t]=jr(kd[t]*a.t+wb[t])}for(t=1;t<=a.t;++t)kd[t]=wb[t];for(Ka=1;Ka<=a.t;++Ka)for(t=1;t<=a.t;++t)if(kd[t]==Ka){a.d[0]=a.d[t];a.A[0]=a.A[t];a.J[0]=a.J[t];a.M[0]=a.M[t];a.z[0]=a.z[t];a.d[t]=a.d[Ka];a.A[t]=a.A[Ka];a.J[t]=a.J[Ka];a.M[t]=a.M[Ka];a.z[t]=a.z[Ka];a.d[Ka]=a.d[0];a.A[Ka]=a.A[0];
a.J[Ka]=a.J[0];a.M[Ka]=a.M[0];a.z[Ka]=a.z[0];kd[t]=kd[Ka];kd[Ka]=Ka;a.o[0]=a.o[t];a.o[t]=a.o[Ka];a.o[Ka]=a.o[0];a.c[0]=a.c[t];a.c[t]=a.c[Ka];a.c[Ka]=a.c[0];a.e[0]=a.e[t];a.e[t]=a.e[Ka];a.e[Ka]=a.e[0];a.x[0]=a.x[t];a.x[t]=a.x[Ka];a.x[Ka]=a.x[0];break}for(t=1;t<=a.y;++t)a.q[t][0]=wb[a.q[t][0]];for(t=1;t<=a.u;++t)a.H[t]=wb[a.H[t]],a.I[t]=wb[a.I[t]],a.H[t]>a.I[t]&&(Id=a.H[t],a.H[t]=a.I[t],a.I[t]=Id,1==a.B[t]?a.B[t]=3:2==a.B[t]?a.B[t]=4:3==a.B[t]?a.B[t]=1:4==a.B[t]&&(a.B[t]=2));for(t=1;t<a.u;++t){mm=lm=
a.t;Ub=0;for(qa=t;qa<=a.u;++qa)a.H[qa]<lm?(lm=a.H[qa],mm=a.I[qa],Ub=qa):a.H[qa]==lm&&a.I[qa]<mm&&(mm=a.I[qa],Ub=qa);Id=a.H[t];a.H[t]=a.H[Ub];a.H[Ub]=Id;Id=a.I[t];a.I[t]=a.I[Ub];a.I[Ub]=Id;Id=a.s[t];a.s[t]=a.s[Ub];a.s[Ub]=Id;Id=a.B[t];a.B[t]=a.B[Ub];a.B[Ub]=Id;xG=a.f[t];a.f[t]=a.f[Ub];a.f[Ub]=xG}WA(a);vC(a);RF(a,F);SF(a,w,F)}else{RF(a,F);a.i=v(E,r,-1,a.u+1,1);for(q=1;q<=a.u;++q)a.i[q]=a.s[q]}c=1;a.b=v(E,r,-1,a.t+1,1);yc=1;a.b[1]=1;for($=0;;){M=0;for(q=1;q<=a.z[c];++q)if(g=a.G[c][q],0<a.b[g]){if(!(a.b[g]>
a.b[c])&&g!=lb[c]){xc=!0;for(J=1;J<=fc;++J)if(n[J]==c&&o[J]==g||n[J]==g&&o[J]==c){xc=!1;break}xc&&(++fc,n[fc]=c,o[fc]=g)}}else m[++M]=g;if(0==M){if(yc==a.t)break;c=l[$--]}else if(1==M)lb[m[1]]=c,c=m[1],a.b[c]=++yc;else{l[++$]=c;e=0;for(q=1;q<=M;++q)if(i=HF(a,m[q],c),!F[i]){e=m[q];break}if(0==e)for(q=1;q<=M;++q)if(i=HF(a,m[q],c),2==a.i[i]||3==a.i[i]){e=m[q];break}0==e&&(e=m[1]);lb[e]=c;c=e;a.b[e]=++yc}}lb=v(E,r,-1,a.t+1,1);b=v(E,r,-1,a.t+1,1);N=v(PF,k,-1,a.t+1,2);Dd=v(PF,k,-1,a.t+1,2);f=yc=$=0;for(q=
1;q<=a.t;++q)if(1==a.b[q]){c=q;break}a:for(;;){0<f&&(lb[c]=f);b[++yc]=c;for(a.b[c]=0;;){M=e=0;S=a.t+1;q=1;b:for(;q<=a.z[c];++q){g=a.G[c][q];for(z=1;z<=fc;++z)if(n[z]==g&&o[z]==c||n[z]==c&&o[z]==g)continue b;0<a.b[g]&&(++M,a.b[g]<S&&(e=g,S=a.b[g]))}if(0==e){if(0==$)break a;Dd[c]=!0;c=l[$--]}else break}f=c;c=e;1<M&&(l[++$]=f,N[e]=!0)}Ed=v(E,r,-1,a.u+1,1);Fd=v(E,r,-1,a.t+1,1);if(a.n.Ab){var zG=lb,MI=fc,Tr,AG,hh,xe,Ur,Vr,Ia,fj,Wr;hh=v(E,r,-1,a.t+1,1);for(Ia=1;Ia<=a.t;++Ia)hh[b[Ia]]=Ia;Ur=v(PF,k,-1,a.u+
1,2);for(Ia=1;Ia<=a.t;++Ia)Tr=b[Ia],AG=zG[Tr],xe=HF(a,Tr,AG),0!=xe&&(UF(a,xe,hh,Ed,F),Ur[xe]=!0);for(Ia=1;Ia<=a.u;++Ia)Ur[Ia]||UF(a,Ia,hh,Ed,F);Ia=1;a:for(;Ia<=a.t;++Ia)if(!(2>a.z[Ia]||4<a.z[Ia])){Vr=Wr=0;for(fj=1;fj<=a.z[Ia];++fj){xe=HF(a,Ia,a.G[Ia][fj]);if(5==a.i[xe])continue a;1==a.s[xe]&&0!=VF(a,xe,Ia)&&++Wr;2==a.s[xe]&&(Vr=a.G[Ia][fj])}if(0!=Wr)if(0<Vr){var ba=a,CG=Ia,ff=hh,Oc=Fd,hc=void 0,gj=void 0,Dc=void 0,ye=void 0,Ec=void 0,rm=void 0,sm=void 0,tm=void 0,Jd=void 0,Pc=void 0,Qc=void 0,Xr=
void 0,hj=void 0,Kd=void 0,ij=void 0,ze=void 0,jj=void 0,Yr=void 0,kj=void 0,Ae=void 0,DG=void 0,gf=void 0,EG=void 0,Zr=void 0,lj=void 0,hf=void 0,Qc=1,gj=CG,hc=v(E,r,-1,ba.t+1,1);for(hc[1]=CG;;){Xr=!1;for(Pc=1;Pc<=ba.z[gj];++Pc)if(Dc=ba.G[gj][Pc],!(Dc==hc[1]||Dc==hc[Qc-1]))if(ye=HF(ba,gj,Dc),2==ba.s[ye]&&5!=ba.i[ye]){gj=hc[++Qc]=Dc;Xr=!0;break}if(!Xr)break}if(!(0==Qc%2||2>ba.z[hc[Qc]]||3<ba.z[hc[Qc]])){hf=hc[1];Ec=hc[~~((Qc+1)/2)];Jd=hc[Qc];gf=Ae=ze=Kd=0;Zr=Yr=!1;for(Pc=1;Pc<=ba.z[hf];++Pc)Dc=ba.G[hf][Pc],
ye=HF(ba,hf,Dc),1!=ba.s[ye]||5==ba.i[ye]||(0==Kd?Kd=Dc:ze=Dc);0<ff[ze]&&ff[Kd]>ff[ze]&&(rm=Kd,Kd=ze,ze=rm);hj=Kd;0==Kd&&(hj=ze,Yr=!0);for(Pc=1;Pc<=ba.z[Jd];++Pc)Dc=ba.G[Jd][Pc],ye=HF(ba,Jd,Dc),1!=ba.s[ye]||5==ba.i[ye]||(0==Ae?Ae=Dc:gf=Dc);0<ff[gf]&&ff[Ae]>ff[gf]&&(rm=Ae,Ae=gf,gf=rm);kj=Ae;0==Ae&&(kj=gf,Zr=!0);ij=VF(ba,HF(ba,hf,Kd),hf);jj=VF(ba,HF(ba,hf,ze),hf);DG=VF(ba,HF(ba,Jd,Ae),Jd);EG=VF(ba,HF(ba,Jd,gf),Jd);1<(0>ij+jj?-(ij+jj):ij+jj)||0!=DG||0!=EG?xp(ba.n,"Bad stereoinfo on allene !"):(sm=ba.J[hc[Qc-
1]]-ba.J[Jd],tm=ba.M[hc[Qc-1]]-ba.M[Jd],lj=Math.sqrt(sm*sm+tm*tm),0.001>lj&&(lj=0.001),0<(ba.M[kj]-ba.M[hc[Qc-1]])*(sm/lj)-(ba.J[kj]-ba.J[hc[Qc-1]])*(tm/lj)?Oc[Ec]=1:Oc[Ec]=-1,Yr&&(Oc[Ec]*=-1),Zr&&(Oc[Ec]*=-1),hj==Kd&&0>ij&&(Oc[Ec]*=-1),hj==ze&&0>jj&&(Oc[Ec]*=-1),ff[hj]>ff[kj]&&(Oc[Ec]*=-1))}}else b:{var ic=a,jc=Ia,NI=zG,OI=hh,PI=n,QI=o,RI=MI,um=Fd,vm=void 0,Rc=void 0,$r=void 0,ih=void 0,xa=void 0,jh=void 0,od=void 0,mj=void 0,Ld=void 0,Fb=void 0,Z=void 0,yb=void 0,Be=void 0,wm=void 0,Sc=void 0,ia=
void 0,xm=void 0,yb=v(E,r,-1,4,1),wm=v(E,r,-1,4,1),kh=ic,Md=jc,FG=OI,as=NI,GG=PI,HG=QI,SI=RI,zb=yb,nj=void 0,Tc=void 0,ym=void 0,zm=void 0,bs=void 0,oj=void 0,oj=-1;0<as[Md]&&(zb[++oj]=as[Md]);for(Tc=1;Tc<=SI;++Tc)GG[Tc]==Md&&(zb[++oj]=HG[Tc]),HG[Tc]==Md&&(zb[++oj]=GG[Tc]);for(Tc=oj+1;Tc<kh.z[Md];++Tc){bs=kh.t+1;ym=1;c:for(;ym<=kh.z[Md];++ym){nj=kh.G[Md][ym];for(zm=0;zm<Tc;++zm)if(nj==zb[zm])continue c;FG[nj]<bs&&(bs=FG[nj],zb[Tc]=nj)}}0==as[Md]&&0<kh.x[Md]?(zb[3]=zb[2],zb[2]=zb[1],zb[1]=zb[0],zb[0]=
-1):0<kh.x[Md]&&(zb[3]=zb[2],zb[2]=zb[1],zb[1]=-1);for(xa=mj=jh=ih=xm=od=Fb=0;4>xa;++xa)0>=yb[xa]||(vm=HF(ic,jc,yb[xa]),wm[xa]=VF(ic,vm,jc),0<wm[xa]?(++Fb,xm=yb[xa],jh=yb[xa]):0>wm[xa]?(++od,ih=yb[xa],jh=yb[xa]):mj=yb[xa]);Ld=Fb+od;ia=v(E,r,-1,4,1);Sc=0;if(3==ic.z[jc]){if(1==Fb&&1==od||3==Ld&&0<Fb&&0<od){xp(ic.n,"Error in C3H stereospecification !");break b}Be=yb[0];1==Ld?Be=jh:2==Ld&&(Be=mj);Z=FF(ic,jc,Be,yb);ia[0]=jh;ia[1]=-1;ia[2]=Z[2];ia[3]=Z[1];0<Fb?Sc=1:Sc=-1}else if(4==ic.z[jc])if(1==Ld)Z=
FF(ic,jc,jh,yb),ia[0]=Z[0],ia[1]=Z[3],ia[2]=Z[2],ia[3]=Z[1],0<Fb?Sc=1:Sc=-1;else{Be=yb[0];1<mj&&(Be=mj);1==Fb?Be=xm:1==od&&(Be=ih);Z=FF(ic,jc,Be,yb);Rc=v(E,r,-1,4,1);for(xa=0;4>xa;++xa)vm=HF(ic,jc,Z[xa]),Rc[xa]=VF(ic,vm,jc);if(4==Ld){if(0==Fb||0==od){xp(ic.n,"Error in C4 stereospecification !");break b}if(1==Fb||1==od)ia[0]=Z[0],ia[1]=Z[3],ia[2]=Z[2],ia[3]=Z[1],Sc=Rc[0];else{for(xa=0;4>xa;++xa)-1==Rc[xa]&&(Rc[xa]=0);Ld=2}}else if(3==Ld)if(3==Fb||3==od)ia[0]=Z[0],ia[1]=Z[3],ia[2]=Z[2],ia[3]=Z[1],0<
Fb?Sc=-1:Sc=1;else{1==Fb?Fb=$r=1:od=$r=-1;for(xa=0;4>xa;++xa)Rc[xa]==$r&&(Rc[xa]=0);Ld=2}if(2==Ld)if(1==Fb&&1==od)Z[1]==ih?(Z[1]=Z[2],Z[2]=Z[3]):Z[2]==ih&&(Z[2]=Z[3]),ia[0]=xm,ia[1]=ih,ia[2]=Z[2],ia[3]=Z[1],Sc=1;else{if(Rc[0]==Rc[1]||Rc[1]==Rc[2]){xp(ic.n,"Error in C4 stereospecification ! 2/0r");break b}0!=Rc[0]?(ia[0]=Z[0],ia[1]=Z[2],ia[2]=Z[1],ia[3]=Z[3]):(ia[0]=Z[1],ia[1]=Z[3],ia[2]=Z[2],ia[3]=Z[0]);1<Fb?Sc=1:Sc=-1}}var R=ia,pj=yb,eb=void 0;pj[0]==R[1]?(eb=R[0],R[0]=R[1],R[1]=eb,eb=R[2],R[2]=
R[3],R[3]=eb):pj[0]==R[2]?(eb=R[2],R[2]=R[0],R[0]=eb,eb=R[1],R[1]=R[3],R[3]=eb):pj[0]==R[3]&&(eb=R[3],R[3]=R[0],R[0]=eb,eb=R[1],R[1]=R[2],R[2]=eb);pj[1]==R[2]?(eb=R[1],R[1]=R[2],R[2]=eb,eb=R[2],R[2]=R[3],R[3]=eb):pj[1]==R[3]&&(eb=R[1],R[1]=R[3],R[3]=eb,eb=R[2],R[2]=R[3],R[3]=eb);ia[2]==yb[2]?um[jc]=1:ia[2]==yb[3]?um[jc]=-1:xp(ic.n,"Error in stereoprocessing ! - t30");um[jc]*=Sc}}}Sa=new GB;h=v(E,r,-1,a.t+1,1);for(q=1;q<=a.t;++q)h[b[q]]=q;for(q=1;q<=a.t;++q){c=b[q];N[c]&&(Sa.b.b+=wa);0<lb[q]&&WF(a,
c,lb[c],Sa,Ed);var lh=w[c],Ab=void 0,qj=void 0,mh=void 0,O=void 0,O=Wc,Ab=!1;0!=a.A[c]&&(Ab=!0);0!=Fd[c]&&(Ab=!0);mh=-1;for(qj=1;qj<=a.y;++qj)if(a.q[qj][0]==c){mh=a.q[qj][1];break}-1<mh&&(Ab=!0);a.n.zb&&0<a.c[c]&&(Ab=!0,mh=1);switch(a.d[c]){case 2:O=Eb;break;case 3:lh?O="c":O=Ib;break;case 4:lh?(O=rf,0<a.x[c]&&(Ab=!0)):O=gc;break;case 5:lh?O="o":O=qc;break;case 7:lh?(O="p",0<a.x[c]&&(Ab=!0)):O=sc;break;case 8:lh?O=Yf:O=Hc;break;case 13:lh?O=$f:O=Jc;Ab=!0;break;case 6:O=Kc;Ab=!0;break;case 9:O=Sb;
break;case 10:O=Mb;break;case 11:O=Hb;break;case 12:O=Zb;break;case 1:O=Xb;Ab=!0;break;case 19:O=tc;Ab=!0;break;case 20:O=uc;Ab=!0;break;case 21:O=vc;Ab=!0;break;case 22:O=wc;Ab=!0;break;case 18:Ab=!0,O=a.o[c],(C(O,za)||C(O,ad)||C(O,xb))&&(Ab=!1)}Ab&&(O=Xc+O,1==Fd[c]?O+=vb:-1==Fd[c]&&(O+="@@"),1==a.x[c]?O+=Xb:1<a.x[c]&&(O+=Xb+a.x[c]),0!=a.A[c]&&(0<a.A[c]?O+=Aa:O+=Da,1<Ui(a.A[c])&&(O+=Ui(a.A[c]))),-1<mh&&(O+=nb+mh),O+=Zc);Em(Sa.b,O);for(z=1;z<=fc;++z)if(n[z]==c||o[z]==c)d=o[z],d==c&&(d=n[z]),h[c]<
h[d]&&WF(a,n[z],o[z],Sa,Ed),9<z&&(Sa.b.b+="%"),Dm(Sa,j+(new Q(z)).b);Dd[c]&&(Sa.b.b+=ya)}return Sa.b.b}
function mC(a,b){var c,d,e,f;f=0;for(e=1;e<=a.u;++e)c=a.H[e],d=a.I[e],c!=b&&d!=b&&(++f,a.H[f]=c,c>b&&--a.H[f],a.I[f]=d,d>b&&--a.I[f],a.s[f]=a.s[e],a.B[f]=a.B[e],a.K[f]=a.K[e],a.N[f]=a.N[e],a.f[f]=a.f[e]);a.u=f;for(e=b;e<a.t;++e){a.d[e]=a.d[e+1];a.A[e]=a.A[e+1];a.J[e]=a.J[e+1];a.M[e]=a.M[e+1];a.x[e]=a.x[e+1];a.c[e]=a.c[e+1];a.e[e]=a.e[e+1];a.z[e]=a.z[e+1];a.o[e]=a.o[e+1];for(f=1;f<=a.z[e];++f)a.G[e][f]=a.G[e+1][f]}--a.t;if(0==a.t)ME(a.n);else{for(e=1;e<=a.t;++e){d=0;for(f=1;f<=a.z[e];++f)c=a.G[e][f],
c==b?++a.x[e]:(c>b&&--c,a.G[e][++d]=c);a.z[e]=d}e=1;a:for(;e<=a.y;++e)if(a.q[e][0]==b){for(f=e;f<a.y;++f)a.q[f][0]=a.q[f+1][0],a.q[f][1]=a.q[f+1][1];--a.y;break a}for(e=1;e<=a.y;++e)a.q[e][0]>b&&--a.q[e][0]}}
function nC(a,b){var c,d,e,f;c=a.H[b];d=a.I[b];for(e=b;e<a.u;++e)a.H[e]=a.H[e+1],a.I[e]=a.I[e+1],a.s[e]=a.s[e+1],a.B[e]=a.B[e+1],a.K[e]=a.K[e+1],a.N[e]=a.N[e+1],a.f[e]=a.f[e+1];--a.u;f=0;for(e=1;e<=a.z[c];++e)a.G[c][e]!=d&&(a.G[c][++f]=a.G[c][e]);a.z[c]=f;f=0;for(e=1;e<=a.z[d];++e)a.G[d][e]!=c&&(a.G[d][++f]=a.G[d][e]);a.z[d]=f;c<d&&(f=c,c=d,d=f);0==a.z[c]&&mC(a,c);0==a.z[d]&&mC(a,d)}
function QF(a){var b,c,d;if(!a.n.M){c=a.t;a:for(;1<=c;--c)if(d=a.G[c][1],1==a.d[c]&&1==a.z[c]&&0==a.A[c]&&1!=a.d[d]&&18>a.d[d]){for(b=1;b<=a.y;++b)if(a.q[b][0]==c)continue a;b=HF(a,c,d);1==a.s[b]&&(0==a.B[b]||!a.n.Ab)&&mC(a,c)}}}function NF(a){var b;b=a.d.length;a.G=Bq([b,7]);a.z=v(E,r,-1,b,1);for(b=1;b<=a.t;++b)a.z[b]=0;for(b=1;b<=a.u;++b)6>a.z[a.H[b]]&&(a.G[a.H[b]][++a.z[a.H[b]]]=a.I[b]),6>a.z[a.I[b]]&&(a.G[a.I[b]][++a.z[a.I[b]]]=a.H[b])}
function SF(a,b,c){var d,e,f,g,h,i,l,m,n;a.i=v(E,r,-1,a.u+1,1);n=v(PF,k,-1,a.t+1,2);for(i=1;i<=a.t;++i){n[i]=!1;b[i]=!1;a:{d=void 0;for(d=1;d<=a.z[i];++d)if(c[HF(a,i,a.G[i][d])]){d=!0;break a}d=!1}if(d&&!(3<a.z[i]+a.x[i]))switch(a.d[i]){case 3:case 4:case 7:case 5:case 8:case 13:n[i]=!0;break;case 18:n[i]=!0}}for(h=1;h<=a.u;++h)1==a.s[h]?a.i[h]=1:OF(a,h)?a.i[h]=2:3==a.s[h]&&(a.i[h]=3);h=1;a:for(;h<=a.u;++h)if(c[h]&&(f=a.H[h],g=a.I[h],n[f]&&n[g])){d=v(PF,k,-1,a.t+1,2);for(i=1;i<=a.z[f];++i)e=a.G[f][i],
e!=g&&n[e]&&(d[e]=!0);for(m=!1;;){for(i=1;i<=a.t;++i){m=!1;if(d[i]&&n[i]&&i!=f)for(l=1;l<=a.z[i];++l){e=a.G[i][l];if(e==g){b[f]=!0;b[g]=!0;a.i[h]=5;continue a}!d[e]&&n[e]&&(m=d[e]=!0)}if(m)break}if(!m)break}}}function uC(a){var b,c,d;for(d=1;d<=a.u;++d)b=a.H[d],c=a.I[d],a.K[d]=I(H(xB((a.J[b]+a.J[c])/2))),a.N[d]=I(H(xB((a.M[b]+a.M[c])/2)))}function RF(a,b){var c;for(c=1;c<=a.u;++c)ZE(a,a.H[c],a.I[c])?b[c]=!1:b[c]=!0}function XE(a,b){var c;c=(DE(),HA)[a.d[b]];18==a.d[b]&&(c=a.o[b]);return c}
function OF(a,b){return 2==a.s[b]?!0:!1}function ZE(a,b,c){var d,e,f,g;g=1;a.b=v(E,r,-1,a.t+1,1);for(d=1;d<=a.t;++d)a.b[d]=0;for(d=a.b[b]=1;d<=a.z[b];++d)a.G[b][d]!=c&&(a.b[a.G[b][d]]=++g);for(f=!1;;){for(d=1;d<=a.t;++d){f=!1;if(0<a.b[d]&&d!=b)for(e=1;e<=a.z[d];++e)0==a.b[a.G[d][e]]&&(a.b[a.G[d][e]]=++g,f=!0);if(f)break}if(!f)break}return 0==a.b[c]}
function rF(a){var b,c;a.n.P=!0;if(a.n.zb)a.k=-1,0==a.c[a.D]?a.c[a.D]=4:a.c[a.D]=0;else{for(b=1;b<=a.y;++b)if(a.D==a.q[b][0]){if(-1==a.n.w){for(;b<a.y;++b)a.q[b][0]=a.q[b+1][0],a.q[b][1]=a.q[b+1][1];--a.y}else c=a.n.w,a.n.q&&(a.n.db||++a.r,c=a.r),a.q[b][1]=c;return}b=a.q.length;++a.y>b-1&&(b=Bq([b+5,2]),HB(a.q,b,a.q.length),a.q=b);a.q[a.y][0]=a.D;c=a.n.w;a.n.q&&(a.n.db||++a.r,c=a.r);a.q[a.y][1]=c}}function FA(a){var b;a.y=0;a.r=0;wF(a);for(b=1;b<=a.t;++b)a.D=b,rF(a);a.D=0}
function jF(a){var b,c;b=v(pC,k,-1,4,1);qC(a,b);c=a.n.A.c;a.n.x||(c-=a.n.X);return b[0]<~~(c/2)-24?1:b[0]>~~(c/2)+24?3:2}function uF(a){var b,c,d,e,f;e=f=0;for(d=1;d<=a.u;++d)b=a.J[a.H[d]]-a.J[a.I[d]],c=a.M[a.H[d]]-a.M[a.I[d]],f+=Math.sqrt(b*b+c*c);0<a.u?(f/=a.u,e=25/f):1<a.t&&(e=75/Math.sqrt((a.J[1]-a.J[2])*(a.J[1]-a.J[2])+(a.M[1]-a.M[2])*(a.M[1]-a.M[2])));for(d=1;d<=a.t;++d)a.J[d]*=e,a.M[d]*=e}
function kF(a,b,c){var d,e,f,g,h;if(0==c.indexOf(Xc)&&zB(c,Zc))c=c.substr(1,c.length-1-1),a.d[b]=18,a.o[b]=c,a.x[b]=0;else{f=!1;-1<c.indexOf(Ba)&&(f=!0);-1<c.indexOf(pb)&&(f=!0);-1<c.indexOf(na)&&(f=!0);-1<c.indexOf("!")&&(f=!0);d=c.indexOf(nb);e=c.indexOf(Xb);g=Ti(c.indexOf(Aa),c.indexOf(Da));if(-1<d){h=ln(c,d+1);try{a.n.w=$z(h,10)}catch(i){if(i=Zh(i),y(i,112))a.n.w=0;else throw i;}a.D=b;rF(a);c=c.substr(0,d-0);a.D=0}if(f)a.o[b]=c,a.d[b]=18,a.x[b]=0;else{d=c;0<e?d=c.substr(0,e-0):0<g&&(d=c.substr(0,
g-0));a.d[b]=C(d,Ib)?3:C(d,Eb)?2:C(d,gc)?4:C(d,qc)?5:C(d,sc)?7:C(d,Hc)?8:C(d,Sb)?9:C(d,Mb)?10:C(d,Hb)?11:C(d,Zb)?12:C(d,Xb)?1:C(d,Jc)?13:C(d,Kc)?6:C(d,tc)?19:C(d,uc)?20:C(d,vc)?21:C(d,wc)?22:18;18==a.d[b]&&(a.o[b]=d);c+=ca;d=0;0<e&&(d=1,e=yB(c,++e),48<=e&&57>=e&&(d=e-48));18==a.d[b]&&(a.x[b]=d);d=0;if(0<g&&(e=yB(c,g++),43==e?d=1:45==e&&(d=-1),0!=d&&(e=yB(c,g++),!(48<=e&&57>=e)))){for(;43==e;)++d,e=yB(c,g++);for(;45==e;)--d,e=yB(c,g++)}a.A[b]=d}}}
function KA(a,b,c){var d,e;a.k=1;c&&(a.k=-1);b=new tA(b);try{for(;b.k=mA(b,b.b),b.k<b.j;)d=tB($z(pA(b),10)).b,c=e=tB($z(pA(b),10)).b,(0>c||6<c)&&(c=0),a.c[d]=c}catch(f){if(f=Zh(f),y(f,112))Bm(f);else throw f;}}function WF(a,b,c,d,e){b=HF(a,b,c);5!=a.i[b]&&OF(a,b)?d.b.b+=sb:3==a.s[b]?d.b.b+=na:9==a.s[b]?(e=ub,a=a.f[b],null!=a&&(e=a),Em(d.b,e)):1==e[b]?d.b.b+=Za:-1==e[b]&&(d.b.b+=Yc)}
function sF(a,b){var c,d;if(1==a.s[b])if(c=a.H[b],d=a.I[b],2>a.z[c]&&2>a.z[d])a.B[b]=0,xp(a.n,"Stereomarking meaningless on this bond !");else switch(a.B[b]){case 0:a.z[d]<=a.z[c]?a.B[b]=1:a.B[b]=3;break;case 1:a.B[b]=2;break;case 2:2<a.z[d]?a.B[b]=3:a.B[b]=1;break;case 3:a.B[b]=4;break;case 4:2<a.z[c]?a.B[b]=1:a.B[b]=3}else 2==a.s[b]?10==a.B[b]?a.B[b]=0:a.B[b]=10:xp(a.n,"Stereomarking allowed only on single and double bonds!")}
function UF(a,b,c,d,e){var f,g,h,i,l,m,n,o,q;if(!(2!=a.s[b]||5==a.i[b])&&(10==a.B[b]||a.n.p&&!e[b]))if(e=a.H[b],f=a.I[b],!(2>a.z[e]||2>a.z[f]||3<a.z[e]||3<a.z[f])){c[e]>c[f]&&(g=e,e=f,f=g);n=m=b=0;o=!1;for(l=1;l<=a.z[e];++l)g=a.G[e][l],g!=f&&(0==m?m=g:n=g);0<n&&c[m]>c[n]&&(g=m,m=n,n=g);i=HF(a,e,m);0!=d[i]?b=m:1==a.s[i]&&5!=a.i[i]&&(b=m);0==b&&(i=HF(a,e,n),0!=d[i]?b=n:1==a.s[i]&&5!=a.i[i]&&(b=n));c[b]>c[e]&&(o=!0);h=n=m=0;for(l=1;l<=a.z[f];++l)g=a.G[f][l],g!=e&&(0==n?n=g:h=g);0<h&&c[n]<c[h]&&(g=n,
n=h,h=g);i=HF(a,f,n);1==a.s[i]&&5!=a.i[i]&&0==d[i]&&(m=n);0==m&&(i=HF(a,f,h),1==a.s[i]&&5!=a.i[i]&&(m=h));if(!(0==b||0==m))if(i=a.J[f]-a.J[e],g=a.M[f]-a.M[e],l=Math.sqrt(i*i+g*g),0.001>l&&(l=0.001),g/=l,i/=l,n=(a.M[b]-a.M[e])*i-(a.J[b]-a.J[e])*g,q=(a.M[m]-a.M[e])*i-(a.J[m]-a.J[e])*g,2>(0>=n?0-n:n)||2>(0>=q?0-q:q))xp(a.n,"Not unique E/Z geometry !");else{h=HF(a,b,e);f=HF(a,m,f);m=1;if(0==d[h]){for(l=1;l<=a.z[b];++l)if(g=a.G[b][l],g!=e&&(i=HF(a,b,g),0!=d[i])){c[g]>c[b]?m=-d[i]:m=d[i];break}d[h]=m}0==
d[f]&&(0<n&&0<q||0>n&&0>q?d[f]=-d[h]:d[f]=d[h],o&&(d[f]=-d[f]))}}}function MF(a,b){var c,d,e;e=0;for(d=1;d<=a.z[b];++d)if(c=HF(a,b,a.G[b][d]),1==a.s[c])e+=1;else if(OF(a,c))e+=2;else if(3==a.s[c])e+=3;else if(9==a.s[c])return-1;return e}function VF(a,b,c){var d;d=a.B[b];return 1>d||4<d?0:1==d&&a.H[b]==c?1:2==d&&a.H[b]==c?-1:3==d&&a.I[b]==c?1:4==d&&a.I[b]==c?-1:0}
function vC(a){var b;for(b=1;b<=a.t;++b){var c=a,d=b,e=void 0,e=MF(c,d);if(-1==e)c.x[d]=0;else{switch(c.d[d]){case 1:2==e?c.A[d]=1:c.A[d]=0;c.x[d]=0;break;case 2:3==e||5==e?(c.x[d]=0,c.A[d]=0):3>e?c.x[d]=3-e-c.A[d]:4==e?(c.A[d]=-1,c.x[d]=0):5<e&&(c.A[d]=e-5,c.x[d]=0);break;case 3:case 6:4>e?0<c.A[d]?c.x[d]=2-e+c.A[d]:0>c.A[d]?c.x[d]=2-e-c.A[d]:c.x[d]=4-e:(c.A[d]=e-4,c.x[d]=4-e+c.A[d]);break;case 4:case 7:3>e?c.x[d]=3-e+c.A[d]:3==e?0>c.A[d]?(c.A[d]=0,c.x[d]=0):0<c.A[d]?c.x[d]=c.A[d]:c.x[d]=0:(c.A[d]=
4==e?1:6==e?-1:e-5,c.x[d]=0);break;case 5:2==e&&(0>c.A[d]?(c.A[d]=0,c.x[d]=0):0<c.A[d]?c.x[d]=c.A[d]:c.x[d]=0);2<e&&(c.A[d]=e-2);c.x[d]=2-e+c.A[d];break;case 8:case 13:2>e?c.x[d]=2-e+c.A[d]:2==e?0>c.A[d]?(c.A[d]=0,c.x[d]=0):0<c.A[d]?c.x[d]=c.A[d]:c.x[d]=0:3==e?2==c.z[d]?(c.A[d]=0,c.x[d]=1):(c.A[d]=1,c.x[d]=0):4==e?(c.A[d]=0,c.x[d]=0):5==e?(c.A[d]=0,c.x[d]=1):(c.A[d]=e-6,c.x[d]=0);break;case 9:case 10:case 11:case 12:1<=e&&(c.A[d]=e-1);c.x[d]=1-e+c.A[d];2<e&&(c.A[d]=0,c.x[d]=0);break;case 19:case 18:c.x[d]=
0}0>c.x[d]&&(c.x[d]=0)}}}function NE(a){EF(this);this.n=a;this.y=this.u=this.t=0}
function cF(a,b){var c,d,e,f,g,h,i;NE.call(this,a);f=j;h=aF(b);if(null!=h){i=new sA(b,h,!0);for(e=1;4>=e;++e)f=bF(i,h);g=tB($z(kn(f.substr(0,3)),10)).b;c=tB($z(kn(f.substr(3,3)),10)).b;for(e=1;e<=g;++e)tF(this),f=bF(i,h),this.J[e]=(new sB(pB(kn(f.substr(0,10))))).b,this.M[e]=-(new sB(pB(kn(f.substr(10,10))))).b,d=34,34>f.length&&(d=f.length),d=kn(f.substr(31,d-31)),kF(this,e,d),62<=f.length&&(f=kn(f.substr(60,3)),0<f.length&&(f=tB($z(f,10)).b,0<f&&(this.D=e,a.w=f,rF(this),this.D=0)));for(e=1;e<=c;++e)sC(this),
f=bF(i,h),this.H[e]=tB($z(kn(f.substr(0,3)),10)).b,this.I[e]=tB($z(kn(f.substr(3,3)),10)).b,g=tB($z(kn(f.substr(6,3)),10)).b,1==g?this.s[e]=1:2==g?this.s[e]=2:3==g?this.s[e]=3:this.s[e]=9,d=0,11<f.length&&(d=tB($z(kn(f.substr(9,3)),10)).b),1==g&&1==d&&(this.s[e]=1,this.B[e]=1),1==g&&6==d&&(this.s[e]=1,this.B[e]=2);NF(this);uF(this);LE(this);for(WA(this);(i.k=mA(i,i.b),i.k<i.j)&&!(null==(f=pA(i)));){if(0==f.indexOf("M  END"))break;if(0==f.indexOf("M  CHG")){g=new rA(f);pA(g);pA(g);h=tB($z(pA(g),10)).b;
for(e=1;e<=h;++e)c=tB($z(pA(g),10)).b,this.A[c]=tB($z(pA(g),10)).b}if(0==f.indexOf("M  APO")){g=new rA(f);pA(g);pA(g);h=tB($z(pA(g),10)).b;for(e=1;e<=h;++e)c=tB($z(pA(g),10)).b,f=tB($z(pA(g),10)).b,this.D=c,W(this,0),kF(this,this.t,tc+f),this.D=0}}QF(this);WA(this)}}
function VA(a,b){var c,d,e,f,g;NE.call(this,a);0==b.indexOf(da)&&(b=b.substr(1,b.length-1));zB(b,da)&&(b=b.substr(0,b.length-1-0));if(1>b.length)this.t=0;else{try{f=new rA(b);d=tB($z(pA(f),10)).b;e=tB($z(pA(f),10)).b;for(c=1;c<=d;++c)g=pA(f),tF(this),kF(this,this.t,g),this.J[c]=(new sB(pB(pA(f)))).b,this.M[c]=-(new sB(pB(pA(f)))).b;for(c=1;c<=e;++c)if(sC(this),this.H[c]=tB($z(pA(f),10)).b,this.I[c]=tB($z(pA(f),10)).b,this.s[c]=tB($z(pA(f),10)).b,-1==this.s[c])this.s[c]=1,this.B[c]=1;else if(-2==this.s[c])this.s[c]=
1,this.B[c]=2;else if(-5==this.s[c])this.s[c]=2,this.B[c]=10;else if(11==this.s[c]||12==this.s[c]||13==this.s[c]||14==this.s[c])this.B[c]=this.s[c],this.s[c]=9;NF(this);uF(this);LE(this)}catch(h){h=Zh(h);if(y(h,112)){h.oc();this.t=0;return}throw h;}QF(this);WA(this)}}
function eF(a,b,c){var d,e,f;NE.call(this,a);f=v(E,r,-1,b.t+1,1);for(a=1;a<=b.t;++a)b.b[a]==c&&(tF(this),this.d[this.t]=b.d[a],this.J[this.t]=b.J[a],this.M[this.t]=b.M[a],this.A[this.t]=b.A[a],this.x[this.t]=b.x[a],this.c[this.t]=b.c[a],this.e[this.t]=b.e[a],this.o[this.t]=b.o[a],f[a]=this.t);for(a=1;a<=b.u;++a)if(d=b.H[a],e=b.I[a],!(b.b[d]!=c&&b.b[e]!=c)&&!(b.b[d]!=c||b.b[e]!=c))sC(this),this.s[this.u]=b.s[a],this.B[this.u]=b.B[a],this.H[this.u]=f[d],this.I[this.u]=f[e],this.f[this.u]=b.f[a];for(a=
1;a<=b.y;++a)d=b.q[a][0],d==c&&(++this.y,this.q[this.y][0]=f[d],this.q[this.y][1]=b.q[a][1]);this.k=b.k;WA(this);LE(this)}
function nF(a,b,c){var d,e,f,g,h;NE.call(this,a);for(a=1;a<=c;++a)this.t+=b[a].t,this.u+=b[a].u,this.y+=b[a].y;this.d=v(E,r,-1,this.t+1,1);this.A=v(E,r,-1,this.t+1,1);this.x=v(E,r,-1,this.t+1,1);this.c=v(E,r,-1,this.t+1,1);this.e=v(Mq,k,1,this.t+1,0);this.J=v(pC,k,-1,this.t+1,1);this.M=v(pC,k,-1,this.t+1,1);this.o=v(Mq,k,1,this.t+1,0);this.H=v(E,r,-1,this.u+1,1);this.I=v(E,r,-1,this.u+1,1);this.s=v(E,r,-1,this.u+1,1);this.f=v(Mq,k,1,this.u+1,0);this.B=v(E,r,-1,this.u+1,1);this.q=Bq([this.y+1,2]);
f=h=g=e=0;for(a=1;a<=c;++a){for(d=1;d<=b[a].t;++d)++e,this.d[e]=b[a].d[d],this.J[e]=b[a].J[d],this.M[e]=b[a].M[d],this.A[e]=b[a].A[d],this.x[e]=b[a].x[d],this.c[e]=b[a].c[d],this.e[e]=b[a].e[d],this.o[e]=b[a].o[d];for(d=1;d<=b[a].u;++d)++g,this.s[g]=b[a].s[d],this.B[g]=b[a].B[d],this.H[g]=b[a].H[d]+f,this.I[g]=b[a].I[d]+f,this.f[g]=b[a].f[d];for(d=1;d<=b[a].y;++d)++h,this.q[h][0]=b[a].q[d][0]+f,this.q[h][1]=b[a].q[d][1];f=e}WA(this);LE(this)}
function JE(a){var b;EF(this);this.n=a.n;this.t=a.t;this.u=a.u;this.y=a.y;this.d=v(E,r,-1,this.t+1,1);HB(a.d,this.d,this.t+1);this.A=v(E,r,-1,this.t+1,1);HB(a.A,this.A,this.t+1);this.x=v(E,r,-1,this.t+1,1);HB(a.x,this.x,this.t+1);this.c=v(E,r,-1,this.t+1,1);HB(a.c,this.c,this.t+1);this.e=v(Mq,k,1,this.t+1,0);HB(a.e,this.e,this.t+1);this.J=v(pC,k,-1,this.t+1,1);HB(a.J,this.J,this.t+1);this.M=v(pC,k,-1,this.t+1,1);HB(a.M,this.M,this.t+1);this.o=v(Mq,k,1,this.t+1,0);HB(a.o,this.o,this.t+1);this.H=v(E,
r,-1,this.u+1,1);HB(a.H,this.H,this.u+1);this.I=v(E,r,-1,this.u+1,1);HB(a.I,this.I,this.u+1);this.s=v(E,r,-1,this.u+1,1);HB(a.s,this.s,this.u+1);this.f=v(Mq,k,1,this.u+1,0);HB(a.f,this.f,this.u+1);this.B=v(E,r,-1,this.u+1,1);HB(a.B,this.B,this.u+1);this.q=Bq([this.y+1,2]);for(b=1;b<=this.y;++b)this.q[b][0]=a.q[b][0],this.q[b][1]=a.q[b][1];this.k=a.k}
function vF(a,b,c){var d,e,f;if(0==c)return lF(G(a),b);9.0E-4>(0>=a?0-a:a)&&(a=0);a=I(H(xB(a*Math.pow(10,c))))/Math.pow(10,c);e=j+(new sB(a)).b;d=gt(e,ht(46));0>d&&(e+=Ya,d=gt(e,ht(46)));f=e.length;for(a=1;a<=c-f+d+1;++a)e+=cb;if(0==b)return e;e.length>b&&(e=ub);c=j;for(a=1;a<=b-e.length;++a)c+=ca;return c+e}function aF(a){var b;b=new sA(a,aa,!0);if(4<lA(b))return aa;b=new sA(a,Mg,!0);return 4<lA(b)?Mg:null}
function lF(a,b){var c,d,e;d=j+(new Q(a)).b;d.length>b&&(d=ub);e=j;for(c=1;c<=b-d.length;++c)e+=ca;return e+d}function bF(a,b){for(var c,d;a.k=mA(a,a.b),a.k<a.j;){d=pA(a);if(C(d,b))return ca;for(pA(a);;)if(c=d.charCodeAt(d.length-1),124==c||10==c||13==c){if(d=d.substr(0,d.length-1-0),0==d.length)return ca}else break;return d}return null}s(532,1,{127:1},NE,cF,VA,eF,nF,JE);_.b=null;_.i=null;_.k=0;_.n=null;_.p=!1;_.r=0;_.t=0;_.u=0;_.v=0;_.w=!1;_.y=0;_.C=!1;_.D=0;_.E=0;_.F=0;_.L=0;_.O=0;
function yp(){yp=u;zp=new uz(Xb)}
function hF(a,b){var c;yp();var d;zE.call(this);this.b=new Yx("help");this.c=b;K(this,(DE(),PA));this.Tb&&Qy(this.Tb.d,!1);Ny(this,!1);d=Iw(b);if(1==a)XF||(XF=new iz(d),Kw(XF,-80,-100)),this.i=XF,c=SA(b),this.Tb&&Py(this.Tb.d.I.c,Ic),ox(this,new Tx(2)),this.d=new uz(c+"     "),L(this,this.d,Lb),d=new sx,L(d,this.f,null),this.c.ub&&(c=new Yx("Submit"),L(d,c,null)),L(this,d,Lc),tz(this.d,kn(on(this.d.Tb.b.pb,Eg))),this.Tb&&Qy(this.Tb.d,!0),Ny(this,!0);else if(2==a)YF||(YF=new iz(d),Kw(YF,-120,13*b.X-
80)),this.i=YF,this.Tb&&Py(this.Tb.d.I.c,"nonstandard atom"),ox(this,new Tx(2)),c=new sx,L(c,new bz("atomic SMILES",1),null),L(this,c,oc),c=Xb,zp&&(c=on(zp.Tb.b.pb,Eg)),zp=new vz(c,8),L(this,zp,Lb),c=new sx,L(c,this.f,null),L(this,c,Lc);else{ZF||(ZF=new iz(d),Kw(ZF,12*b.X+10,-20));var e,f;d="about "+(DE(),zA);this.Tb&&Py(this.Tb.d.I.c,d);ox(this,new Yy(0));K(this,PA);L(this,new bz(zA+" Molecular Editor v2013.01",1),null);L(this,new bz("Peter Ertl and Bruno Bienfait",1),null);for(c=EE,e=0,f=c.length;e<
f;++e)d=c[e],L(this,new bz(d,1),null);c=new sx;L(c,this.b,null);L(c,this.f,null);L(this,c,null);this.i=ZF}My(this);c=this.i;zD(this.Tb.d,c.b,c.c);!Hw(this)&&lx(this);Ww(this)}s(533,524,yh,hF);_.gf=function(a){var b,c;if(a.i==this.b){try{b=new Uz(this.c.G),c=Tz(b),$wnd.open(c,"_top ",j)}catch(d){if(d=Zh(d),y(d,104))b=d,Mz(),a=this.c,b=b.i,a.gb=!0,a.I="ERROR - "+b;else throw d;}return!0}return!1};_.c=null;var ZF=_.d=null,zp,YF=null,XF=null;function $F(a,b){Gw(b)==a.b?K(b,(dy(),ly)):K(b,a.b)}
function aG(a){var b,c,d,e;e=j;d=!1;Gw(bG)!=a.b?(e=za,d=!0):Gw(cG)!=a.b?(e="!#6",d=!0):Gw(dG)!=a.b?(K(eG,(dy(),ly)),K(fG,ly),K(gG,ly),K(hG,ly),e="F,Cl,Br,I"):(b=Gw(iG)!=a.b,c=Gw(jG)!=a.b,Gw(kG)!=a.b&&(b?e+="c,":c?e+="C,":e+="#6,"),Gw(lG)!=a.b&&(b?e+="n,":c?e+="N,":e+="#7,"),Gw(mG)!=a.b&&(b?e+="o,":c?e+="O,":e+="#8,"),Gw(nG)!=a.b&&(b?e+="s,":c?e+="S,":e+="#16,"),Gw(oG)!=a.b&&(b?e+="p,":c?e+="P,":e+="#15,"),Gw(eG)!=a.b&&(e+="F,"),Gw(fG)!=a.b&&(e+="Cl,"),Gw(gG)!=a.b&&(e+="Br,"),Gw(hG)!=a.b&&(e+="I,"),
zB(e,Ba)&&(e=e.substr(0,e.length-1-0)),1>e.length&&!a.c&&(b?e=ad:c?e=xb:(K(bG,(dy(),ly)),e=za)));b=j;d&&Gw(iG)!=a.b&&(b+=";a");d&&Gw(jG)!=a.b&&(b+=";A");Gw(pG)!=a.b&&(b+=";R");Gw(qG)!=a.b&&(b+=";!R");Gw(bG)!=a.b&&0<b.length?e=b.substr(1,b.length-1):e+=b;d=rG.Tb.b.pb.selectedIndex;0<d&&(--d,e+=";H"+d);d=sG.Tb.b.pb.selectedIndex;0<d&&(--d,e+=";D"+d);Gw(tG)!=a.b&&(e="~");Gw(uG)!=a.b&&(e=nb);Gw(vG)!=a.b&&(e=vb);Gw(wG)!=a.b&&(e="!@");tz(a.e,e)}
function yG(a){BG(a);IG(a);var b=rG.Tb.b;qv(b,0);b.pb.options[0].selected=!0;b=sG.Tb.b;qv(b,0);b.pb.options[0].selected=!0;K(iG,a.b);K(jG,a.b);K(pG,a.b);K(qG,a.b);K(rG,a.b);K(sG,a.b);JG(a)}function BG(a){K(kG,a.b);K(lG,a.b);K(mG,a.b);K(nG,a.b);K(oG,a.b);K(eG,a.b);K(fG,a.b);K(gG,a.b);K(hG,a.b)}function IG(a){K(bG,a.b);K(cG,a.b);K(dG,a.b)}function JG(a){K(tG,a.b);K(uG,a.b);K(vG,a.b);K(wG,a.b);a.c=!1}
function iF(a){Oy.call(this,"Atom/Bond Query");this.f=new Yx(this.ff());Bx(this.p,new AE(this));this.b=(DE(),PA);this.d=a;KG||(a=Iw(a),KG=new iz(a),Kw(KG,-150,-50));this.i=KG;ox(this,new Xy);K(this,this.b);a=new sx;ox(a,new By(0,3,1));L(a,new az("Atom type :"),null);bG=new Yx(Cb);cG=new Yx("Any except C");dG=new Yx("Halogen");L(a,bG,null);L(a,cG,null);L(a,dG,null);L(this,a,null);a=new sx;ox(a,new By(0,3,1));L(a,new bz("Or select one or more from the list :",0),null);L(this,a,null);a=new sx;ox(a,new By(0,
3,1));kG=new Yx(Ib);lG=new Yx(gc);mG=new Yx(qc);nG=new Yx(Hc);oG=new Yx(sc);eG=new Yx(Sb);fG=new Yx(Mb);gG=new Yx(Hb);hG=new Yx(Zb);L(a,kG,null);L(a,lG,null);L(a,mG,null);L(a,nG,null);L(a,oG,null);L(a,eG,null);L(a,fG,null);L(a,gG,null);L(a,hG,null);L(this,a,null);a=new sx;ox(a,new By(0,3,1));rG=new by;ay(rG,Cb);ay(rG,cb);ay(rG,fb);ay(rG,kb);ay(rG,mb);L(a,new az("Number of hydrogens :  "),null);L(a,rG,null);L(this,a,null);a=new sx;ox(a,new By(0,3,1));sG=new by;ay(sG,Cb);ay(sG,cb);ay(sG,fb);ay(sG,kb);
ay(sG,mb);ay(sG,"4");ay(sG,"5");ay(sG,"6");L(a,new bz("Number of connections :",0),null);L(a,sG,null);L(a,new bz(" (H's don't count.)",0),null);L(this,a,null);a=new sx;ox(a,new By(0,3,1));L(a,new az("Atom is :"),null);iG=new Yx(Db);L(a,iG,null);jG=new Yx("Nonaromatic");L(a,jG,null);pG=new Yx(Gc);L(a,pG,null);qG=new Yx(nc);L(a,qG,null);L(this,a,null);a=new sx;K(a,ry(Gw(this)));ox(a,new By(0,3,1));L(a,new az("Bond is :"),null);tG=new Yx(Cb);L(a,tG,null);uG=new Yx(Db);L(a,uG,null);vG=new Yx(Gc);L(a,
vG,null);wG=new Yx(nc);L(a,wG,null);L(this,a,null);a=new sx;ox(a,new By(1,3,1));this.e=new vz(za,20);L(a,this.e,null);L(a,new Yx(Bc),null);L(a,this.f,null);L(this,a,null);this.Tb&&Qy(this.Tb.d,!1);Ny(this,!1);BG(this);IG(this);JG(this);K(iG,this.b);K(jG,this.b);K(pG,this.b);K(qG,this.b);K(rG,this.b);K(sG,this.b);$F(this,bG);My(this);a=this.i;zD(this.Tb.d,a.b,a.c);!Hw(this)&&lx(this);Ww(this)}s(534,524,yh,iF);
_.gf=function(a,b){var c;C(b,Bc)?(yG(this),$F(this,bG),aG(this)):y(a.i,84)?(JG(this),a.i==bG?(BG(this),IG(this)):a.i==cG?(BG(this),IG(this)):a.i==dG?(BG(this),IG(this)):a.i==pG?K(qG,this.b):a.i==qG?(K(pG,this.b),K(iG,this.b)):a.i==iG?(K(jG,this.b),K(qG,this.b)):a.i==jG?K(iG,this.b):a.i==tG||a.i==uG||a.i==vG||a.i==wG?(yG(this),this.c=!0):IG(this),$F(this,a.i),aG(this)):y(a.i,85)&&(JG(this),c=a.i,0==c.Tb.b.pb.selectedIndex?K(c,this.b):K(c,(dy(),ly)),aG(this));107!=this.d.c&&(this.d.c=107,EA(this.d));
return!0};_.c=!1;_.d=null;var bG=_.e=null,tG=null,cG=null,iG=null,uG=null,gG=null,kG=null,sG=null,rG=null,fG=null,eG=null,dG=null,hG=null,KG=null,lG=null,jG=null,qG=null,wG=null,mG=null,oG=null,pG=null,vG=null,nG=null;function zF(){SB(this)}s(535,460,th,zF);_.b=-1;
function sp(a){a=new Iz(a);vp();var b,c,d,e,f;try{var g=(Az(),Dz);if(Ez(g,(Az(),Dz)))b=a.b;else if(Ez(g,Bz))b=new Lz(a.b);else throw new Jz(g);c=Rm(b)?b.tS():b.toString?b.toString():"[JavaScriptObject]";d=new iE;fw(d.f,c);e=(f=BB(c,"\r\n|\r|\n|\n\r"),f.length);d.f.pb.rows=10>e?e:10;cn(($m(),an),new lE(d));kD(d);yD(d)}catch(h){if(h=Zh(h),y(h,98))Bm(h);else throw h;}}function AF(){}s(536,1,{},AF);_.b=null;function uE(a){if(!a)throw new Hm;this.b=a}s(537,1,{},uE);_.Hc=function(){return cA(this.b)};
_.Ic=function(){return Uh(this.b)};_.Jc=function(){throw new fA("Missing message: awt.50");};_.b=null;function Ix(){return Ix()}function Vz(){Vz=u;var a;a=(Mz(),Nz["os.encoding"]);if(null!=a)try{if(C("UTF-8",a)||C("ISO-8859-1",a)||C("ISO-LATIN-1",a))v(LG,k,-1,0,1);else throw new fB(a+" is not supported");}catch(b){if(b=Zh(b),!y(b,119))throw b;}}function gz(a,b){a.b=31*a.b+G((new sB(b)).b)}function wy(){}s(540,1,{},wy);_.hC=function(){return this.b};_.b=1;
function FD(a){var b;b=v(E,r,-1,4,1);b[0]=MG(NG(a,"borderTopWidth"));b[1]=MG(NG(a,"borderRightWidth"));b[2]=MG(NG(a,"borderBottomWidth"));b[3]=MG(NG(a,"borderLeftWidth"));return b}function OG(a){var b,c;c=PG(a);b=FD(a);a=new dp(a.clientWidth,a.clientHeight);a.c+=b[1]+b[3]+(c[1]+c[3]);a.b+=b[0]+b[2]+(c[0]+c[2]);return a}function cp(a){return new dp(a.clientWidth,a.clientHeight)}
function PG(a){var b;b=v(E,r,-1,4,1);b[0]=MG(NG(a,"marginTop"));b[1]=MG(NG(a,"marginRight"));b[2]=MG(NG(a,"marginBottom"));b[3]=MG(NG(a,"marginLeft"));return b}function QG(a){var b;b=v(E,r,-1,4,1);b[0]=MG(NG(a,"paddingTop"));b[1]=MG(NG(a,"paddingRight"));b[2]=MG(NG(a,"paddingBottom"));b[3]=MG(NG(a,"paddingLeft"));return b}function RG(a,b,c){try{C(b,de)&&(b=Sd),a.style[b]=c}catch(d){if(d=Zh(d),!y(d,112))throw d;}}
function lD(a,b){var c;SG||(SG=$doc.createElement(fg),RG(SG,Le,j),RG(SG,ug,j),RG(SG,Ff,bd),RG(SG,Gg,Ee),$doc.body.appendChild(SG));RG(SG,Jg,a);RG(SG,De,a);c=OG(SG);return b?c.c:c.b}var SG=null;function TG(){dp.call(this,0,0)}function dp(a,b){this.c=a;this.b=b}function LD(a){dp.call(this,a.c,a.b)}s(542,1,Dh,TG,dp,LD);_.eQ=function(a){return this===a?!0:null==a||UG!=Pm(a)||this.b!=a.b||this.c!=a.c?!1:!0};_.hC=function(){var a;a=31+this.b;return a=31*a+this.c};
_.tS=function(){return"Dimension [height="+this.b+", width="+this.c+Zc};_.b=0;_.c=0;function VG(a){this.e=a[0];this.c=a[3];this.b=a[2];this.d=a[1]}s(543,1,{106:1,108:1,128:1},VG);_.eQ=function(a){return a===this?!0:y(a,128)?a.c==this.c&&a.b==this.b&&a.d==this.d&&a.e==this.e:!1};_.hC=function(){var a;a=213+this.e;a=71*a+this.c;a=71*a+this.b;return a=71*a+this.d};_.tS=function(){return WG.e+"[left="+this.c+",top="+this.e+",right="+this.d+",bottom="+this.b+Zc};_.b=0;_.c=0;_.d=0;_.e=0;
function XG(a,b){this.b=a;this.c=b}s(544,1,Dh,XG);_.eQ=function(a){return this===a?!0:null==a||YG!=Pm(a)||this.b!=a.b||this.c!=a.c?!1:!0};_.hC=function(){var a;a=31+this.b;return a=31*a+this.c};_.tS=function(){return YG.e+"[x="+this.b+",y="+this.c+Zc};_.b=0;_.c=0;function WD(){this.c=this.b=this.e=this.d=0}s(545,1,Dh,WD);_.eQ=function(a){return this===a?!0:null==a||ZG!=Pm(a)||this.b!=a.b||this.c!=a.c||this.d!=a.d||this.e!=a.e?!1:!0};
_.hC=function(){var a;a=31+this.b;a=31*a+this.c;a=31*a+this.d;return a=31*a+this.e};_.tS=function(){return ZG.e+"[x="+this.d+",y="+this.e+",width="+this.c+",height="+this.b+Zc};_.b=0;_.c=0;_.d=0;_.e=0;function NG(a,b){if(document.defaultView&&document.defaultView.getComputedStyle){var c=null;b==de&&(b=Sd);var d=a.ownerDocument.defaultView.getComputedStyle(a,j);d&&(c=d[b]);return c||a.style[b]||j}return el.style[b]||j}s(547,1,{});var $G=-1;function aH(){}s(548,547,{},aH);_.b=-1;_.c=-1;var bH=null;
function MG(a){a=parseInt(a,10);a=isNaN(a)?null:tB(a);return!a?0:a.b}s(551,286,{45:1,47:1,56:1,60:1,68:1,70:1,71:1,74:1,79:1,81:1,130:1,136:1});_.$e=function(){return gp(this.i)};_._e=function(a){pD(this.i,a)};_.af=function(){kp(this.i)};_.ud=function(){kp(this.i)};_.Vc=function(a){var b=this.i;b.pb.style[De]=a;b.kb||(b.i=a)};_.Xc=function(a){var b=this.i;b.pb.style[Jg]=a;b.kb||(b.j=a)};function sD(){sD=u;tD()}function Py(a,b){a.b.pb.textContent=b||j;pD(a.i,null)}
function cH(a){sD();var b;tu(this,new RD);this.b=new dH;b=this.i;eH(b,new fH);RG(b.pb,"padding",db);b.p=0;bE(b,this.b,new cE(0),b.q.d);this.b.Sc()[zd]="mosaic-Caption-text";this.b.pb.textContent=a||j;pD(this.i,null);this.pb[zd]="mosaic-Caption"}s(550,551,{15:1,18:1,19:1,34:1,35:1,36:1,37:1,38:1,39:1,45:1,47:1,56:1,60:1,66:1,67:1,68:1,70:1,71:1,74:1,78:1,79:1,81:1,130:1,136:1},cH);_.wc=function(a){return A(this,a,(Cp(),Cp(),Dp))};_.xc=function(a){return A(this,a,(Ei(),Ei(),Fi))};
_.yc=function(a){return A(this,a,(Gp(),Gp(),Hp))};_.zc=function(a){return A(this,a,(Gi(),Gi(),Hi))};_.c=null;function tD(){tD=u;gH=Vm()+"40BAF81124143A595056A9CCA0E9DBBA.cache.png";new Aw(gH,240,20);new Aw(gH,224,16);new Aw(gH,208,16);new Aw(gH,192,16);new Aw(gH,176,16);new Aw(gH,160,16);new Aw(gH,144,16);new Aw(gH,128,16);new Aw(gH,112,16);new Aw(gH,96,16);new Aw(gH,80,16);new Aw(gH,64,16);new Aw(gH,260,16);uD=new Aw(gH,48,16);new Aw(gH,32,16);new Aw(gH,16,16);new Aw(gH,0,16)}var gH,uD;
function hH(a,b){it(a.b.pb,!b);pD(a.i,a.b)}function ep(a,b){a.d=b;it(a.b.pb,!b);pD(a.i,a.b);if(a.e){var c;for(c=new Th(a.e);c.c<c.e.ie();)Uh(c)}}function XD(a){var b;tu(this,new RD);b=this.i;eH(b,new iH((jH(),kH)));b.p=0;this.c=new cH(a);bE(b,this.c,new cE(1),b.q.d);this.b=new RD;ni(this.b,"Body");bE(b,this.b,new cE(0),b.q.d);this.pb[zd]="mosaic-CaptionLayoutPanel"}s(553,551,{45:1,47:1,56:1,60:1,68:1,69:1,70:1,71:1,74:1,79:1,81:1,130:1,136:1},XD);_.Yc=function(){lt(this.i)};_.Zc=function(){ot(this.i)};
_.gd=function(){return new st(this.b)};_.dd=function(a){return qD(this.b,a)};_.b=null;_.c=null;_.d=!1;_.e=null;function ZD(){SB(this)}s(554,460,th,ZD);function QD(a){this.b=a}s(555,1,Ch,QD);_.hc=function(){kp(this.b.T.jb)};_.b=null;function lH(a){var b;b=a.c;a=b.r;b=!a.f?-1:Ni(a.f.b,b);a.f&&gs(a.f.b,b)&&js(a.f.b,b);b=!a.f?0:a.f.b.d;0<b&&MD(!a.f?null:gs(a.f.b,b-1))}function mH(a){var b;b=a.b;a=b.r;!a.f&&(a.f=new qx);-1==Ni(a.f.b,b)&&hi(a.f.b,b)}function JD(){}s(556,1,{},JD);_.Ac=function(a){lH(a)};
_.Bc=function(a){mH(a)};_.Dc=function(a){nH(a.b.r,a.b)};function jE(){jE=u;oH=new pH(1,"e");qH=new pH(2,rf);rH=new pH(3,"ne");sH=new pH(10,"nw");tH=new pH(4,Yf);uH=new pH(5,$f);vH=new pH(12,"sw");wH=new pH(8,"w");kE=new xH((vi(),wi(null)).pb)}function BD(a,b){var c;c=FD(a.pb);return new XG(Yi(b.pb)-(Yi(a.pb)+c[3]),$i(b.pb)-($i(a.pb)+c[0]))}
function yH(a){var b,c,d,e,f,g;if(a.f){b=cp(a.pb);for(d=0,e=a.f.b.d;d<e;++d)g=gs(a.f.b,d),c=new dp(nn(g.pb,Af),nn(g.pb,zf)),f=BD(a,g),f.b-=Ti(0,f.b+nn(g.pb,Af)-b.c),f.c-=Ti(0,f.c+nn(g.pb,zf)-b.b),zD(g,Ti(0,f.b),Ti(0,f.c)),c.c=c.c>b.c?b.c:-1,c.b=c.b>b.b?b.b:-1,KD(g,c.c,c.b),g.O==(ap(),bp)&&ip(g,new LD(cp(a.pb))),xj(g.z,1)}}function zH(a,b,c){a=a.e;Xh(a,b,b);x(a.d,b,c);ni(b,Fc+c.c)}
function hp(a,b){var c;c=a.e;AH(c,b.H);mi(b.H,Fc+sH.c);AH(c,b.D);mi(b.D,Fc+qH.c);AH(c,b.E);mi(b.E,Fc+rH.c);AH(c,b.N);mi(b.N,Fc+wH.c);AH(c,b.v);mi(b.v,Fc+oH.c);AH(c,b.M);mi(b.M,Fc+vH.c);AH(c,b.K);mi(b.K,Fc+tH.c);AH(c,b.L);mi(b.L,Fc+uH.c)}
function jp(a,b){!b.H&&(b.H=DD(b,0,0));zH(a,b.H,sH);!b.D&&(b.D=DD(b,0,1));zH(a,b.D,qH);!b.E&&(b.E=DD(b,0,2));zH(a,b.E,rH);!b.N&&(b.N=DD(b,1,0));zH(a,b.N,wH);!b.v&&(b.v=DD(b,1,2));zH(a,b.v,oH);!b.M&&(b.M=DD(b,2,0));zH(a,b.M,vH);!b.K&&(b.K=DD(b,2,1));zH(a,b.K,tH);!b.L&&(b.L=DD(b,2,2));zH(a,b.L,uH)}function nH(a,b){var c,d;a.b=b;d=a.f.b.d;c=Ni(a.f.b,b);if(c+1<d){Nx(a.f,b);for(hi(a.f.b,b);c<d;++c)ND(gs(a.f.b,c),c)}else ND(b,c)}
function xH(a){a=new BH(a);tu(this,a);this.d=new CH(a);this.d.j=!0;ei(this.d);this.d.n=3;this.e=new DH(a);this.e.j=!0;ei(this.e);this.e.n=3;vu(this)}s(557,286,{45:1,47:1,56:1,60:1,68:1,70:1,71:1,74:1,79:1,81:1,136:1},xH);_.$e=function(){return cp(this.pb)};_._e=function(){var a;(a=EH(this))&&a._e(null)};_.af=function(){yH(this)};_.Ac=function(a){!this.c&&(this.c=new JD);lH(a)};_.Bc=function(a){!this.c&&(this.c=new JD);mH(a)};_.ud=function(){yH(this)};
_.Dc=function(a){!this.c&&(this.c=new JD);nH(a.b.r,a.b)};_.b=null;_.c=null;_.d=null;_.e=null;_.f=null;var oH,qH,rH,sH,kE,tH,uH,vH,wH;function BH(a){this.q=new Mt(this);this.pb=a}s(558,266,Ih,BH);function pH(a,b){this.b=a;this.c=b}s(559,1,{},pH);_.b=0;_.c=null;function CH(a){Ph();ji.call(this,a)}s(560,3,{},CH);_.bc=function(){var a;a=this.k.f;a.C||Xi(a.x);mi(this.k.f,"dragdrop-dragging");!a.I.d&&hH(a.I,!1)};
_.dc=function(){var a,b;a=this.k.c;b=this.k.d;this.j&&(a=Ti(this.b,a<this.e?a:this.e),b=Ti(this.c,b<this.d?b:this.d));var c=this.k.f.pb;c.style[Le]=a+(Ii(),Jf);c.style[ug]=b+Jf};
_.cc=function(){var a;a=this.k.f;a==a.r.b||MD(a);a.I.d||hH(a.I,!0);a.C||(a.x||(a.x=new FH,ni(a.x,"mosaic-GlassPanel-invisible")),RG(a.x.pb,Lg,NG(a.pb,Lg)),ui((vi(),wi(null)),a.x,0,0));ni(this.k.f,"dragdrop-dragging");a=new Qi(this.k.b,null);this.b=a.b+Zi(this.k.b.pb);this.c=a.e+aj(this.k.b.pb);this.e=this.b+cj(this.k.b.pb)-this.k.f.Rc();this.d=this.c+bj(this.k.b.pb)-this.k.f.Qc()};_.b=0;_.c=0;_.d=0;_.e=0;function AH(a,b){try{ai(a,b)}catch(c){if(c=Zh(c),!y(c,112))throw c;}}
function DH(a){Ph();ji.call(this,a);this.d=new Rh}s(561,3,{},DH);_.bc=function(){var a;a=this.k.f.ob;a.C||Xi(a.x);mi(this.k.f,"dragdrop-dragging");hH(a.I,!1);fp(a,new dp(a.q,a.p));xj(a.z,1)};
_.dc=function(){var a,b,c,d;d=this.k.f.ob;c=ri(this.k.e.d,this.k.f).b;0!=(c&2)?(b=this.j?this.k.f.Pc()-Ti(this.k.d,this.c):this.k.f.Pc()-this.k.d,0!=b&&(a=d.p,b=Ti(a+b,nn(d.I.c.pb,zf)),b!=a&&CD(d,0,a-b),fp(d,new dp(d.q,b)),xj(d.z,333))):0!=(c&4)&&(b=this.j?(this.k.d<this.e?this.k.d:this.e)-this.k.f.Pc():this.k.d-this.k.f.Pc(),0!=b&&(a=d.p,b=Ti(a+b,nn(d.I.c.pb,zf)),fp(d,new dp(d.q,b)),xj(d.z,333)));0!=(c&8)?(b=this.j?this.k.f.Oc()-Ti(this.k.c,this.b):this.k.f.Oc()-this.k.c,0!=b&&(a=d.q,b=96<a+b?a+
b:96,b!=a&&CD(d,a-b,0),fp(d,new dp(b,d.p)),xj(d.z,333))):0!=(c&1)&&(b=this.j?(this.k.c<this.f?this.k.c:this.f)-this.k.f.Oc():this.k.c-this.k.f.Oc(),0!=b&&(a=d.q,fp(d,new dp(96<a+b?a+b:96,d.p)),xj(d.z,333)))};
_.cc=function(){var a;a=this.k.f.ob;a==a.r.b||MD(a);hH(a.I,!0);a.C||(a.x||(a.x=new FH,ni(a.x,"mosaic-GlassPanel-invisible")),RG(a.x.pb,Lg,NG(a.pb,Lg)),ui((vi(),wi(null)),a.x,0,0));ni(this.k.f,"dragdrop-dragging");a=new Qi(this.k.b,null);this.b=a.b+Zi(this.k.b.pb);this.c=a.e+aj(this.k.b.pb);this.f=this.b+cj(this.k.b.pb)-this.k.f.Rc();this.e=this.c+bj(this.k.b.pb)-this.k.f.Qc()};_.b=0;_.c=0;_.e=0;_.f=0;
function FH(){var a;this.e=new GH(this);this.b=!1;this.c=new Qt;tu(this,this.c);a=this.pb.style;a[jd]="#000";a[ce]="alpha(opacity=50)";a.opacity="0.5";this.pb[zd]="gwt-GlassPanel"}s(562,286,sh,FH);
_._c=function(){var a;vu(this);try{a=this.ob}catch(b){b=Zh(b);if(y(b,117))throw new mt("Parent widget must be an instance of AbsolutePanel");throw b;}a==(vi(),wi(null))?(Nr(this),a=this.e,a.c?$wnd.clearInterval(a.d):$wnd.clearTimeout(a.d),gi(Ej,a),a.c=!0,a.d=Mj(a),hi(Ej,a),this.d=new HH(this),Ds(new Mr(this.d))):(this.pb.style[sd]=db,this.pb.style[Tf]=db);this.b&&rs(new Lr(this));ui(wi(null),new IH,rn($doc),sn($doc))};
_.ad=function(){this.i.ad();rj(this.e);this.d&&(Jr(Bs,this.d,D(JH,k,46,[(!Qp&&(Qp=new Jj),Qp)])),this.d=null);this.b&&Jr(ts,this,D(JH,k,46,[(!ss&&(ss=new Jj),ss)]))};_.Lc=function(a){switch(os(a.type)){case 256:if(27==(a.keyCode||0))return Xi(this),!1;case 1:if(this.pb.contains(a.target))return Xi(this),!1}return!0};_.bd=function(){};_.b=!1;_.c=null;_.d=null;function GH(a){Dj();this.b=a}s(563,24,{},GH);_.nc=function(){Nr(this.b)};_.b=null;function HH(a){this.b=a}s(564,1,{},HH);_.b=null;
function IH(){this.pb=yu();var a;a=new sv(new KH(this));A(this,a,(Go(),Go(),Ho));A(this,a,(lp(),lp(),mp))}s(565,288,Wg,IH);_.bd=function(){Oi(new LH(this))};function KH(a){this.b=a}s(566,1,{},KH);_.b=null;function LH(a){this.b=a}s(567,1,Ch,LH);_.hc=function(){this.b.pb.focus()};_.b=null;function MH(a){a.pb.style[Jg]=id;a.pb.style[De]=id;if(a.kb){var a=a.ob,b;y(a,136)?a._e(null):(b=EH(a))&&b._e(a)}}s(569,269,{45:1,47:1,56:1,67:1,68:1,71:1,74:1,75:1,78:1,79:1,81:1,136:1});
_.$e=function(){MH(this);return new dp(nn(this.pb,Af),nn(this.pb,zf))};_._e=function(){MH(this)};_.af=function(){};_.Kc=function(){};_.ud=function(){};function dH(){this.pb=$doc.createElement("label");this.pb[zd]="mosaic-Label";this.pb.style[Ig]=wf;this.pb[zd]="mosaic-HTML"}s(568,569,{45:1,47:1,56:1,66:1,67:1,68:1,71:1,74:1,75:1,78:1,79:1,81:1,136:1},dH);function $D(a){tu(this,new NH(a));this.pb[zd]="mosaic-ImageButton"}s(570,286,{18:1,45:1,47:1,56:1,60:1,68:1,70:1,71:1,75:1,79:1,81:1},$D);
function xE(){var a=(cu(),fu);Xt.call(this,!0,Ye);this.U=a.b;this.b=new OH(this);this.b.e=!0;Nt(this,this.b);this.ab=!0;this.b.i=!0;if(-1==this.lb){var a=this.pb,b=1|(this.pb.__eventBits||0);yi();Zs(a,b)}else this.lb|=1;qn(pn(this.pb))[zd]=ve;this.pb.style[Lg]="2147483647"}s(571,271,Ih,xE);_.Kc=function(a){nt(this,a);1==os(a.type)&&St(this,!1)};_.b=null;
function OH(a){this.c=a;this.d=new oi;this.j=new oi;a=(Kv(),Jv);new zw(a.e,a.c,a.d,a.f,a.b);var b;b=$doc.createElement(kg);this.f=$doc.createElement(ng);ks(b,this.f);this.p=!0;a=yu();b=(ls(),ms(b));a.appendChild(b);this.pb=a;Kk();this.pb.setAttribute("role",ol.b);-1==this.lb?(a=this.pb,b=2225|(this.pb.__eventBits||0),yi(),Zs(a,b)):this.lb|=2225;this.pb[zd]=ue;a=ft(this.pb)+"-vertical";Vh(this.Sc(),a,!0);this.pb.style.outline=db;this.pb.setAttribute("hideFocus",Dg);A(this,new Iv(this),(Go(),Go(),Ho))}
s(572,310,Gh,OH);_.Kc=function(a){switch(os(a.type)){case 16:this.b=!1;break;case 32:this.b=!0}Bv(this,a)};_.td=function(a,b){Fv(this,a,b);b||this.b&&St(this.c,!1)};_.b=!0;_.c=null;
function NH(a){var b=(Lu(),Wu),c=(Zu(),$u),d;d=new Fu;d.i[rd]=cb;d.i[ud]=0;d.i[vd]=0;this.b=b;this.c=c;var b=d.e,c=this.b,e=this.c;Du(b.b);b.b.d.rows[0].cells[0][ed]=c.b;Du(b.b);b.b.d.rows[0].cells[0].style[Fg]=e.b;Du(d);b=zu(d,0,0,!0);if(a){Xi(a);c=d.j;if(c.b){var e=c.b.b,f=c.c,g=e;Bu(g,f.d);Hq(f.c,g,a);c.b=c.b.c}else e=c.c.d,hi(c.c,a);a.pb[$c]=e;ks(b,a.pb);qt(a,d)}tu(this,d);Vh(this.pb,"mosaic-WidgetWrapper",!0)}s(573,286,sh,NH);_.b=null;_.c=null;function SD(a){this.b=a}s(574,1,{},SD);
_.vc=function(){this.b.hb&&this.b!=this.b.r.b&&MD(this.b)};_.b=null;function TD(a){Dj();this.b=a}s(575,24,{},TD);_.nc=function(){kp(this.b.T.jb);var a=this.b;Pp((!a.y&&(a.y=new tE),a.y))};_.b=null;function UD(a){Dj();this.b=a}s(576,24,{},UD);_.nc=function(){GD(this.b,(ap(),bp))};_.b=null;function VD(a){Dj();this.b=a}s(577,24,{},VD);_.nc=function(){GD(this.b,(ap(),HD))};_.b=null;function YD(){}s(578,1,{},YD);function aE(a){this.b=a}s(579,1,{},aE);_.vc=function(){this.b.od()};_.b=null;
function dE(a){this.b=a}s(580,1,{},dE);_.b=null;function eE(a){this.b=a}s(581,1,Ch,eE);_.hc=function(){this.b.O==(ap(),bp)?xj(this.b.A,333):this.b.O==HD&&xj(this.b.B,333)};_.b=null;function ED(a){this.pb=a;lt(this)}s(582,269,{15:1,18:1,34:1,35:1,36:1,37:1,38:1,39:1,45:1,47:1,56:1,68:1,71:1,79:1,81:1},ED);_.wc=function(a){return A(this,a,(Cp(),Cp(),Dp))};_.xc=function(a){return A(this,a,(Ei(),Ei(),Fi))};_.yc=function(a){return A(this,a,(Gp(),Gp(),Hp))};_.zc=function(a){return A(this,a,(Gi(),Gi(),Hi))};
function tE(){hq.call(this,null)}s(583,201,Ah,tE);function ap(){ap=u;bp=new PH("MAXIMIZED",0);HD=new PH("MINIMIZED",1);ID=new PH("NORMAL",2);QH=D(RH,k,131,[bp,HD,ID])}function PH(a,b){tn.call(this,a,b)}s(584,137,{106:1,109:1,111:1,131:1},PH);var QH,bp,HD,ID;function Nr(a){var b,c,d,e;c=Ci();b=Di();e=($s(),at).scrollWidth;d=at.scrollHeight;c=c>e?c:e;b=b>d?b:d;0<=c-1&&(a.pb.style[Jg]=c-1+Jf);0<=b-1&&(a.pb.style[De]=b-1+Jf)}
function SH(a,b){var c,d,e;if(a.n)return!0;ii(a.y);for(c=new st(b);c.b.b<c.b.c.d-1;)d=oD(tt(c.b)),e=d.ob,y(e,137)&&e.Wc(d.Tc()),d.Tc()&&hi(a.y,d);return!0}
function TH(a,b){var c,d,e;if(b.b)a.d&&dj(a.d),a.d=new UH(a,b),sj(a.d,333);else for(d=new Th(a.y);d.c<d.e.ie();)c=Uh(d),e=c.nb,Jt(b,VH(c),e.t,e.u),WH(c,e.v,e.s,D(E,r,-1,[XH(a.r.b,c).e,XH(a.q.b,c).d,XH(a.o.b,c).b,XH(a.p.b,c).c]),D(E,r,-1,[YH(a.j.b,c).e,YH(a.i.b,c).d,YH(a.e.b,c).b,YH(a.f.b,c).c]),D(E,r,-1,[ZH(a.v,c),ZH(a.u,c),ZH(a.s,c),ZH(a.t,c)]))}
function $H(){this.y=new oi;this.k=new aI(this);this.x=new bI(this.k);this.w=new cI(this.k);this.r=new dI(this.k);this.q=new eI(this.k);this.o=new fI(this.k);this.p=new gI(this.k);this.j=new hI(this.k);this.i=new iI(this.k);this.e=new jI(this.k);this.f=new kI(this.k);this.v=new lI(this.k);this.u=new lI(this.k);this.s=new lI(this.k);this.t=new lI(this.k)}s(587,1,{});_.hf=function(a){TH(this,a)};_.d=null;_.e=null;_.f=null;_.i=null;_.j=null;_.k=null;_.n=!1;_.o=null;_.p=null;_.q=null;_.r=null;_.s=null;
_.t=null;_.u=null;_.v=null;_.w=null;_.x=null;function mI(a){var b;b=a.b;var c=a.c,d,e,f;for(e=new Th(b.y);e.c<e.e.ie();)d=Uh(e),y(d,61)&&(d=d.jb),f=d.nb,Jt(c,VH(d),f.t,f.u),WH(d,f.v,f.s,D(E,r,-1,[XH(b.r.b,d).e,XH(b.q.b,d).d,XH(b.o.b,d).b,XH(b.p.b,d).c]),D(E,r,-1,[YH(b.j.b,d).e,YH(b.i.b,d).d,YH(b.e.b,d).b,YH(b.f.b,d).c]),D(E,r,-1,[ZH(b.v,d),ZH(b.u,d),ZH(b.s,d),ZH(b.t,d)]));nI(c);a.b.d=null;for(a=new Th(a.b.y);a.c<a.e.ie();)b=Uh(a),y(b,61)&&(b=b.jb),b=b.nb,b.p=b.q=b.r=b.o=-1}
function UH(a,b){this.b=a;this.c=b;var c=(zj(),Aj);this.n=new yj(this);this.t=c}s(588,17,{},UH);_.ic=function(){mI(this)};_.jc=function(){mI(this)};
_.lc=function(a){var b,c,d;for(c=new Th(this.b.y);c.c<c.e.ie();)b=Uh(c),y(b,61)&&(b=b.jb),d=b.nb,d.j=G(d.p+(d.t-d.p)*a),d.w=G(d.q+(d.u-d.q)*a),d.x=G(d.r+(d.v-d.r)*a),d.i=G(d.o+(d.s-d.o)*a),Jt(this.c,VH(b),d.j,d.w),WH(b,d.x,d.i,D(E,r,-1,[XH(this.b.r.b,b).e,XH(this.b.q.b,b).d,XH(this.b.o.b,b).b,XH(this.b.p.b,b).c]),D(E,r,-1,[YH(this.b.j.b,b).e,YH(this.b.i.b,b).d,YH(this.b.e.b,b).b,YH(this.b.f.b,b).c]),D(E,r,-1,[ZH(this.b.v,b),ZH(this.b.u,b),ZH(this.b.s,b),ZH(this.b.t,b)]))};_.b=null;_.c=null;
s(590,1,{});_.b=null;function jI(a){this.b=a}s(589,590,{},jI);function kI(a){this.b=a}s(591,590,{},kI);function iI(a){this.b=a}s(592,590,{},iI);function hI(a){this.b=a}s(593,590,{},hI);function fI(a){this.b=a}s(594,590,{},fI);function gI(a){this.b=a}s(595,590,{},gI);function eI(a){this.b=a}s(596,590,{},eI);function dI(a){this.b=a}s(597,590,{},dI);s(598,590,{},function(a){this.b=a});s(599,590,{},function(a){this.b=a});
function ZH(a,b){var c=a.b,d;d=ri(c.e,b);d||(d=new VG(QG(b.pb)),x(c.e,b,d));return d.e}function lI(a){this.b=a}s(600,590,{},lI);function cI(a){this.b=a}s(601,590,{},cI);function bI(a){this.b=a}s(602,590,{},bI);function YH(a,b){var c;c=ri(a.b,b);c||(c=new VG(FD(b.pb)),x(a.b,b,c));return c}function XH(a,b){var c;c=ri(a.c,b);c||(c=new VG(PG(b.pb)),x(a.c,b,c));return c}
function oI(a,b){var c,d;d=ri(a.f,b);if(!d){c=b.nb;a:{d=a.i;var e=EH(b),f,g,h,i,l;if(y(b,136)){if(null!=c.n&&null!=c.k){d=new dp(pI(e,!0),pI(e,!1));break a}i=b.$e();null!=c.n&&(i.c=pI(e,!0));null!=c.k&&(i.b=pI(e,!1))}else{if(null!=c.n&&null!=c.k){d=new dp(pI(e,!0),pI(e,!1));break a}i=new TG;f=b.pb;l=f.style;g=l[Ff];h=l[Gg];l[Ff]="static";l[Gg]=Ee;null!=c.n?i.c=pI(e,!0):(l[Jg]=id,i.c=(f.offsetWidth||0)+XH(d.p.b,b).c+XH(d.q.b,b).d);null!=c.k?i.b=pI(e,!1):(l[De]=id,i.b=(f.offsetHeight||0)+XH(d.r.b,b).e+
XH(d.o.b,b).b);l[Ff]=g;l[Gg]=h}d=i}null!=c.n&&(Ii(),eo)==c.n.kf()||null!=c.k&&(Ii(),eo)!=c.k.kf()||x(a.f,b,d)}return d}function aI(a){this.i=a;this.d=new Rh;this.f=new Rh;this.c=new Rh;this.b=new Rh;this.e=new Rh}s(603,1,{},aI);_.b=null;_.c=null;_.d=null;_.e=null;_.f=null;_.i=null;function qI(a){var b;b=a.nb;if(null==b||!y(b,134))b=new rI,a.nb=b;return b}function fH(){iH.call(this,(jH(),sI))}function iH(a){var b=(tI(),uI);$H.call(this);this.c=a;this.b=b}s(604,587,{},fH,iH);
_.jf=function(a){var b,c,d,e,f,g,h,i,l;i=new TG;SH(this,a);l=XH(this.p.b,a).c+XH(this.q.b,a).d+YH(this.f.b,a).c+YH(this.i.b,a).d+ZH(this.t,a)+ZH(this.u,a);d=XH(this.r.b,a).e+XH(this.o.b,a).b+YH(this.j.b,a).e+YH(this.e.b,a).b+ZH(this.v,a)+ZH(this.s,a);c=this.y.d;if(0==c)return i.c=l,i.b=d,i;a=a.p;this.c==(jH(),sI)?l+=(c-1)*a:d+=(c-1)*a;f=g=0;for(a=new Th(this.y);a.c<a.e.ie();)c=Uh(a),e=qI(c),b=null,h=c.ob,y(h,137)&&(b=h,b=vI(b),b=new dp(b[1]+b[3],b[0]+b[0])),this.c==sI?(l+=oI(this.x.b,c).c,e.b=oI(this.w.b,
c).b,y(h,137)&&(l+=b.c,e.b+=b.b),f=Ti(f,e.b)):(d+=oI(this.w.b,c).b,e.c=oI(this.x.b,c).c,y(h,137)&&(d+=b.b,e.c+=b.c),g=Ti(g,e.c));this.c==sI?(i.c=l,i.b=d+f):(i.c=l+g,i.b=d);return i};
_.hf=function(a){var b,c,d,e,f,g,h,i,l,m,n,o,q,w,F,z,J,N;if(SH(this,a)&&(d=this.y.d,0!=d)){F=a.p;q=ZH(this.t,a);z=ZH(this.v,a);c=cp(a.pb);N=c.c-(q+ZH(this.u,a));n=c.b-(z+ZH(this.s,a));g=N;c=n;this.c==(jH(),sI)?g-=(d-1)*F:c-=(d-1)*F;h=i=0;for(e=new Th(this.y);e.c<e.e.ie();)d=Uh(e),b=null,o=qI(d),w=d.ob,y(w,137)&&(b=w,b=vI(b),b=new dp(b[1]+b[3],b[0]+b[0])),this.c==sI?(o.e?++i:(o.c=oI(this.x.b,d).c,y(w,137)&&(o.c+=b.c),g-=o.c),o.d?o.b=n:(o.b=oI(this.w.b,d).b,y(w,137)&&(o.b+=b.b))):(o.d?++h:(o.b=oI(this.w.b,
d).b,y(w,137)&&(o.b+=b.b),c-=o.b),o.e?o.c=N:(o.c=oI(this.x.b,d).c,y(w,137)&&(o.c+=b.c)));for(e=new Th(this.y);e.c<e.e.ie();)d=Uh(e),b=null,o=d.nb,w=d.ob,y(w,137)&&(b=w,b=vI(b),b=new dp(b[1]+b[3],b[0]+b[0])),J=o.c,m=o.b,this.c==sI?o.e&&(J=~~(g/i)):o.d&&(m=~~(c/h)),z=0>z?0:z,l=J,f=m,y(w,137)&&(l-=b.c,f-=b.b),this.c==kH?(o.t=this.b==(tI(),uI)?q:this.b==wI?q+~~(N/2)-~~(J/2):q+N-J,o.u=z,o.v=l,o.s=f,z+=m+F):(this.b==(tI(),uI)?(o.t=q,o.u=z):this.b==wI?(o.t=q,o.u=z+~~(n/2)-~~(m/2)):(o.t=q,o.u=z+n-m),o.v=
l,o.s=f,q+=J+F),a.b&&(w=d.Oc()-Yi(a.pb)-ZH(this.t,a),-1==o.p&&(o.p=w),w=d.Pc()-$i(a.pb)-ZH(this.v,a),-1==o.q&&(o.q=w),-1==o.r&&(o.r=d.Rc()),-1==o.o&&(o.o=d.Qc()));TH(this,a)}};_.b=null;_.c=null;function tI(){tI=u;uI=new xI("START",0);wI=new xI(Jb,1);yI=new xI(Qb,2);zI=D(AI,k,132,[uI,wI,yI])}function xI(a,b){tn.call(this,a,b)}s(605,137,{106:1,109:1,111:1,132:1},xI);var zI,wI,yI,uI;function jH(){jH=u;sI=new BI("HORIZONTAL",0);kH=new BI("VERTICAL",1);CI=D(DI,k,133,[sI,kH])}
function BI(a,b){tn.call(this,a,b)}s(606,137,{106:1,109:1,111:1,133:1},BI);var CI,sI,kH;s(608,1,{138:1});_.f=!1;_.i=0;_.j=0;_.k=null;_.n=null;_.o=0;_.p=0;_.q=0;_.r=0;_.s=0;_.t=0;_.u=0;_.v=0;_.w=0;_.x=0;function rI(){this.f=!1}function cE(a){this.f=!1;0==a?this.d=this.e=!0:1==a?this.e=!0:2==a&&(this.d=!0)}s(607,608,{134:1,138:1},rI,cE);_.b=0;_.c=0;_.d=!1;_.e=!1;
function EI(a,b){if(a.n)return!0;SH(a,b);if(0<a.y.d){a.b=gs(a.y,0);var c=a.b,d;d=c.nb;if(null==d||!y(d,135))d=new FI,c.nb=d;a.c=d;ii(a.y);hi(a.y,a.b)}else a.b=null,a.c=null;return a.n=!!a.b}function GI(){$H.call(this)}s(609,587,{},GI);
_.jf=function(a){var b,c;c=new TG;EI(this,a);if(this.b){b=oI(this.x.b,this.b).c;var d=oI(this.w.b,this.b).b;c.c=b;c.b=d;b=this.b.ob;y(b,137)&&(b=vI(b),c.c+=b[1]+b[3],c.b+=b[0]+b[0])}c.c+=XH(this.p.b,a).c+XH(this.q.b,a).d+YH(this.f.b,a).c+YH(this.i.b,a).d+ZH(this.t,a)+ZH(this.u,a);c.b+=XH(this.r.b,a).e+XH(this.o.b,a).b+YH(this.j.b,a).e+YH(this.e.b,a).b+ZH(this.v,a)+ZH(this.s,a);return c};
_.hf=function(a){var b,c,d,e,f;EI(this,a)&&(d=ZH(this.t,a),e=ZH(this.v,a),c=cp(a.pb),f=c.c-(d+ZH(this.u,a)),c=c.b-(e+ZH(this.s,a)),b=this.b.ob,y(b,137)&&(b=vI(b),f-=b[1]+b[3],c-=b[0]+b[2]),this.c.t=d,this.c.v=f,this.c.u=e,this.c.s=c,a.b&&(d=this.c,e=this.b.Oc()-Yi(a.pb)-ZH(this.t,a),-1==d.p&&(d.p=e),d=this.c,e=this.b.Pc()-$i(a.pb)-ZH(this.v,a),-1==d.q&&(d.q=e),d=this.c,-1==d.r&&(d.r=this.b.Rc()),d=this.c,-1==d.o&&(d.o=this.b.Qc())),TH(this,a))};_.b=null;_.c=null;function FI(){this.f=!1}
s(610,608,{135:1,138:1},FI);function vI(a){var b,c,d,e;null==a.b&&(a.b=v(E,r,-1,4,1),e=pn(Qs(Qs(a.d,0),0)),c=pn(Qs(Qs(a.d,2),2)),d=PG(a.pb),b=FD(a.pb),a.b[0]=(e.offsetHeight||0)+b[0]+d[0],a.b[1]=(c.offsetWidth||0)+b[1]+d[1],a.b[2]=(c.offsetHeight||0)+b[2]+d[2],a.b[3]=(e.offsetWidth||0)+b[3]+d[3]);return a.b}function HI(a,b){a.kb&&Xi(a);return Ot(a,b)}function II(){lu();bu.call(this,mu)}s(611,276,{45:1,47:1,56:1,61:1,68:1,69:1,71:1,79:1,81:1,137:1},II);_.dd=function(a){return HI(this,a)};_.b=null;
function VH(a){var b;b=a.ob;return y(b,137)?b:a}function gp(a){if(!a.kb)return new TG;if(-1==a.k.c||-1==a.k.b)a.k=a.e.jf(a),ip(a,a.k),a.e.hf(a),a.k=a.e.jf(a);return a.k}function oD(a){return y(a,137)?a.jb:a}function JI(a){var b;if(!a.o){b=(!bH&&(bH=new aH),bH);var c=KI(a,hb,!0);b.b=c;c=KI(a,ib,!0);b.c=c;a.o=b}return a.o}
function nD(a,b,c,d,e){if(y(b,61))throw new Kj("Adding a DecoratorPanel is not allowed!");var f;f=b.nb;null!=f&&y(f,138)&&f.f?(c=new II,Bt(a,c,a.pb,d,!0),Pt(c,b)):Bt(a,b,c,d,e);pD(a,b)}function bE(a,b,c,d){b.nb=c;nD(a,b,a.pb,d,!0)}
function pD(a,b){var c;c=a.e;if(b){var d=c.k;bi(d.d,b);bi(d.f,b);bi(d.c,b);bi(d.b,b);bi(d.e,b)}else d=c.k,ew(d.d),ew(d.f),ew(d.c),ew(d.b),ew(d.e);c.n=!1;if(!a.d){a.d=!0;c=a.k;c.c=-1;c.b=-1;c=a.ob;if(c==VH(a))c=c.ob;else{if(y(c,130)||y(c,60))d=c,c=c.ob,c==VH(d)&&(c=c.ob);y(c,137)&&y(c.ob,129)&&(c=c.ob)}y(c,136)&&!y(c,129)&&(c._e(a.ob),c._e(a))}}function kp(a){a.kb&&a.pb.style.display!=tf&&(a.pb.scrollTop=0,a.pb.scrollLeft=0,a.e.hf(a),a.d=!1,nI(a))}
function nI(a){var b,c,d;c=a.q.d;for(d=0;d<c;++d)b=oD(ww(a.q,d)),y(b,137)&&(b=b.jb),b.Tc()&&(y(b,136)?b.af():y(b,74)&&b.ud())}function qD(a,b){var c;y(b,137)&&(b=y(b,137)?b.jb:b);c=VH(b);return Ht(a,c)?(y(c,137)&&HI(c,b),pD(a,null),!0):!1}function eH(a,b){var c;a.e=b;null!=a.f&&mi(a,ft(a.pb)+Da+a.f);a.f=b.cZ.e;c=Dw(a.f,ht(46));a.f=a.f.substr(c+1,a.f.length-(c+1));ni(a,ft(a.pb)+Da+a.f);pD(a,null)}
function KI(a,b,c){a.n||(a.n=$doc.createElement(fg),RG(a.n,Ff,bd),RG(a.n,Gg,Ee),RG(a.n,Le,db),RG(a.n,ug,db),a.pb.appendChild(a.n));RG(a.n,Jg,b);RG(a.n,De,b);a=OG(a.n);return c?a.c:a.b}
function pI(a,b){var c;c=null.kf();if(c==(Ii(),qo)){c=(JI(a),null.kf());var d=(-1==$G&&($G=lD(jb,!0)),$G);return I(H(Math.round(100*d*c/254)))}if(c==go)return c=JI(a),d=null.kf(),I(H(xB(d*(-1==c.b&&(c.b=lD(hb,!0)),c.b))));if(c==io)return c=JI(a),d=null.kf(),I(H(xB(d*(-1==c.c&&(c.c=lD(ib,!0)),c.b))));if(c==oo)return c=(JI(a),null.kf()),d=(-1==$G&&($G=lD(jb,!0)),$G),I(H(Math.round(d*c)));if(c==so)return c=(JI(a),null.kf()),d=(-1==$G&&($G=lD(jb,!0)),$G),I(H(Math.round(10*d*c/254)));if(c==mo)return I(H(xB(12*
(JI(a),null.kf())*I(H(xB((-1==$G&&($G=lD(jb,!0)),$G)/72))))));if(c==eo)return KI(a,null.kf(),b);if(c==ko)return c=(JI(a),I(H(xB(null.kf())))),d=(-1==$G&&($G=lD(jb,!0)),$G),I(H(Math.round(d*c/72)));if(null.kf()==bo)return I(H(xB(null.kf())));throw new Kj("Invalid size: "+null.kf());}function RD(){var a=new GI;Lt.call(this);this.k=new dp(-1,-1);new LI(this);this.pb[zd]="mosaic-LayoutPanel";eH(this,a)}s(612,266,{45:1,47:1,56:1,68:1,69:1,71:1,74:1,79:1,81:1,136:1},RD);
_.hd=function(a){nD(this,a,this.pb,this.q.d,!0)};_.Yc=function(){vt(this,new TI)};_.Zc=function(){vt(this,new UI)};_.$e=function(){return gp(this)};_.ed=function(a){return Et(this.q,VH(a))};_.fd=function(a,b,c,d){nD(this,a,b,c,d)};_._e=function(a){pD(this,a)};_.gd=function(){return new st(this)};_.af=function(){kp(this)};
_.bd=function(){var a;if(this.c){if(null!=this.j&&null!=this.i)a=this.i,this.Xc(this.j),this.Vc(a),this.j=this.i=null;else if(a=gp(this),null!=this.j)a=a.b+Jf,this.Xc(this.j),this.Vc(a),this.j=null;else if(null!=this.i){var b=this.i;this.Xc(a.c+Jf);this.Vc(b);this.i=null}else b=a.b+Jf,this.Xc(a.c+Jf),this.Vc(b);kp(this)}};_.ud=function(){kp(this)};_.dd=function(a){return qD(this,a)};_.Vc=function(a){this.pb.style[De]=a;this.kb||(this.i=a)};_.jd=function(a,b,c){Jt(this,VH(a),b,c)};
_.Xc=function(a){this.pb.style[Jg]=a;this.kb||(this.j=a)};_.b=!1;_.c=!1;_.d=!0;_.e=null;_.f=null;_.i=null;_.j=null;_.n=null;_.o=null;_.p=4;function TI(){}s(613,1,{},TI);_.sd=function(a){VH(a)._c()};function UI(){}s(614,1,{},UI);_.sd=function(a){VH(a).ad()};function st(a){this.c=a;this.b=new Gt(this.c.q)}s(615,1,{},st);_.Hc=function(){return this.b.b<this.b.c.d-1};_.Ic=function(){return oD(tt(this.b))};_.Jc=function(){ut(this.b)};_.c=null;function VI(){VI=u;new Ru}
function LI(a){VI();Vh(a.pb,"dragdrop-dropTarget",!0);this.b=a;new WI(this)}s(616,9,{},LI);function WI(a){Dj();this.b=a}s(617,24,{},WI);_.nc=function(){pD(this.b.b,null);kp(this.b.b)};_.b=null;function EH(a){a=a.ob;return!a?null:y(a,136)?a:EH(a)}function KD(a,b,c){var d;d=a.pb;WH(a,b,c,PG(d),FD(d),QG(d))}
function WH(a,b,c,d,e,f){var g;0<=b&&(b-=d[1]+d[3],g=b-(e[1]+e[3]+f[1]+f[3]),a.Xc((0>g?0:g)+(Ii(),Jf)),b!=a.Rc()&&a.Xc((0>b?0:b)+Jf));0<=c&&(c-=d[0]+d[2],b=c-(e[0]+e[2]+f[0]+f[2]),a.Vc((0>b?0:b)+(Ii(),Jf)),c!=a.Qc()&&a.Vc((0>c?0:c)+Jf))}function ip(a,b){KD(a,b.c,b.b)}s(620,1,{});function $A(){var a,b,c,d;d=BB("JavaScriptApplet.JSME","\\.");c=$wnd;a=0;for(b=d.length-1;a<b;++a)C(d[a],"client")||(c[d[a]]||(c[d[a]]={}),c=null!=c?c[d[a]]:null);return null!=c?c[d[a]]:null}
function XI(){this.b=new Rh;new Rh;new Rh}s(619,620,{},XI);function ZA(){ZA=u;YI=new XI}function dB(){var a=aB,b=$wnd.JavaScriptApplet.JSME;ZA();x(YI.b,a,b)}var YI;
function Nj(a){return function(){try{var b;var c=arguments,d;var e;0!=Xm&&(e=tj(),2E3<e-Zm&&(Zm=e,Ym=Wm()));if(0==Xm++){var f=($m(),an),g,h;if(f.c){h=null;do g=f.c,f.c=null,h=jn(g,h);while(f.c);f.c=h}d=!0}else d=!1;try{b=a.apply(this,c)}finally{if(c=d){var i=($m(),an),l,m;if(i.d){m=null;do l=i.d,i.d=null,m=jn(l,m);while(i.d);i.d=m}}--Xm;c&&-1!=Ym&&($wnd.clearTimeout(Ym),Ym=-1)}return b}catch(n){throw n;}}}
function gwtOnLoad(a,b,c){$moduleName=b;$moduleBase=c;if(a)try{Nj(Kq)()}catch(d){a(b)}else Nj(Kq)()}var bB=U(1),Sm=U(100),ZI=oB(" I"),E=jB(627,ZI),Ey=jB(625,bB),$I=oB(" Z"),PF=jB(628,$I);U(99);U(98);U(97);var aJ=U(440),Gm=jB(629,aJ),bJ=U(220),lr=jB(630,bJ);U(221);U(137);var cJ=oB(" B");U(431);var dJ=oB(" C"),Mh=jB(631,dJ);U(429);var eJ=oB(" D"),pC=jB(632,eJ);U(430);var fJ=U(434),wB=jB(633,fJ),gJ=oB(" J"),hJ=U(2),Mq=jB(626,hJ),LG=jB(634,cJ);U(443);U(427);U(96);U(165);U(104);U(423);var aB=U(421);U(426);
U(114);U(115);U(94);U(106);U(107);U(108);U(437);U(432);U(422);U(620);U(619);var cB=nB(),sy=U(368),GE=jB(635,sy),iJ=U(532),yF=jB(636,iJ),jJ=U(357);U(356);U(355);U(354);U(528);var Dq=jB(637,E),kJ=V(530,function(){bD();return CF}),DF=jB(638,kJ);U(531);U(377);U(376);U(524);U(523);U(533);U(534);U(529);U(406);U(527);var Vx=jB(639,jJ);U(366);U(536);U(176);U(175);U(254);U(201);U(256);U(184);var lJ=U(183);U(204);U(203);U(202);U(351);U(352);U(353);U(270);var mJ=U(269);U(268);U(274);U(288);U(474);U(475);U(476);
U(477);U(478);U(330);U(418);U(417);U(447);U(449);U(448);U(450);U(452);U(451);U(453);U(457);U(458);U(267);U(266);U(326);U(329);U(327);U(328);U(207);U(206);U(279);U(280);U(281);U(393);U(392);var nz=U(391),WE=jB(640,nz),TF=jB(641,gJ);U(382);U(378);U(487);U(454);U(460);U(455);U(456);U(416);U(466);var nJ=V(210,function(){sq();return xq}),yq=jB(642,nJ);U(446);U(396);U(397);U(384);var Zy=U(379);U(364);U(365);U(389);var jz=U(388);U(381);U(380);U(464);U(473);U(371);var xy=U(370);U(420);U(525);U(526);U(535);
U(387);U(386);U(385);U(390);U(394);U(395);U(439);U(359);U(358);U(403);nB();nB();nB();nB();U(360);U(490);U(489);U(174);U(181);U(182);U(341);var xw=jB(643,mJ);U(342);U(374);U(375);var Fy=U(373);U(419);U(367);U(470);U(442);U(196);U(250);U(405);var oJ=V(153,function(){Ii();return uo}),vo=jB(644,oJ),pJ=V(136,function(){Ji();return En}),Fn=jB(645,pJ),qJ=V(143,function(){Gn();return Pn}),Qn=jB(646,qJ),rJ=V(148,function(){Rn();return $n}),ao=jB(647,rJ);V(154,null);V(155,null);V(156,null);V(157,null);
V(158,null);V(159,null);V(160,null);V(161,null);V(162,null);V(138,null);V(139,null);V(140,null);V(141,null);V(142,null);V(144,null);V(145,null);V(146,null);V(147,null);V(149,null);V(150,null);V(151,null);V(152,null);U(180);U(179);U(190);U(191);U(193);U(188);U(187);U(189);var Hy=U(484);U(369);U(492);U(497);U(404);U(433);U(407);var Xx=U(363),Wx=jB(648,xy);U(362);U(361);U(540);U(485);U(481);U(482);U(194);U(205);U(293);U(292);U(298);U(299);U(459);U(467);U(468);U(469);U(491);U(493);var $y=U(383);U(471);
U(496);U(273);U(272);U(271);U(504);U(503);U(515);U(501);U(513);U(514);var sJ=V(584,function(){ap();return QH}),RH=jB(649,sJ);U(583);U(582);U(574);U(24);U(575);U(576);U(577);U(578);U(579);U(580);U(581);U(555);var tJ=V(275,function(){cu();return ju}),ku=jB(650,tJ),uJ=V(322,function(){Zt();return Rv}),Sv=jB(651,uJ);U(17);U(323);U(324);U(319);U(320);U(321);U(18);U(19);U(20);U(252);U(284);U(283);var vJ=U(282);U(494);U(495);U(500);U(516);U(402);U(372);U(498);U(499);U(285);U(301);U(300);U(287);U(178);U(306);
U(333);U(332);U(334);var wJ=V(335,function(){hw();return sw}),tw=jB(652,wJ);V(336,null);V(337,null);V(338,null);V(339,null);U(208);U(486);U(571);U(310);U(572);U(311);U(312);U(313);U(314);U(317);U(198);U(177);U(318);U(463);U(277);U(612);U(613);U(614);U(615);var UG=U(542);U(302);U(304);U(303);U(305);U(278);U(286);U(551);U(550);U(553);U(557);U(3);U(560);U(561);U(559);U(558);U(197);var YG=U(544);U(199);U(276);U(611);U(241);U(244);U(242);U(243);U(569);U(568);U(234);U(236);U(235);U(412);U(411);U(413);U(27);
U(28);U(26);U(29);U(32);U(33);U(34);U(35);U(36);U(37);var xJ=U(49),Gv=jB(653,xJ);U(38);U(39);U(40);U(41);U(42);U(43);U(44);U(46);U(45);U(47);U(48);U(50);U(51);U(53);U(54);U(52);U(55);U(56);U(57);U(58);U(60);U(62);U(63);U(61);U(59);U(64);U(65);U(66);U(67);U(69);U(72);U(71);U(73);U(76);U(77);U(75);U(78);U(79);U(80);U(81);U(82);U(83);U(85);U(86);U(84);U(87);U(88);U(89);U(90);U(92);U(93);U(91);U(5);U(7);U(6);U(414);var Fz=U(399),Hz=jB(654,Fz);U(400);U(398);U(570);U(263);U(264);U(345);U(537);U(173);U(415);
U(401);var ZG=U(545);U(554);U(573);U(608);U(607);U(185);U(200);U(192);U(230);U(483);U(425);U(444);U(507);U(408);U(409);U(225);U(4);U(587);U(604);var yJ=V(605,function(){tI();return zI}),AI=jB(655,yJ),zJ=V(606,function(){jH();return CI}),DI=jB(656,zJ);U(590);U(599);U(598);U(602);U(601);U(597);U(596);U(594);U(595);U(593);U(592);U(589);U(591);U(600);U(603);U(588);U(232);U(31);U(237);U(307);U(308);U(309);U(238);var JH=jB(657,lJ);U(239);U(522);U(502);var hE=jB(658,vJ);U(508);U(512);U(505);U(506);U(509);
U(510);U(609);U(290);U(289);U(295);U(296);U(294);U(240);U(226);U(30);U(68);U(556);U(261);U(262);U(344);U(227);U(11);U(14);U(610);U(8);U(10);U(9);U(616);U(617);U(21);U(291);U(340);U(331);U(229);U(22);var AJ=U(25),Oj=jB(659,AJ);U(23);U(562);U(565);U(566);U(567);U(563);U(564);var WG=U(543);U(547);U(548);U(186);window.gwtOnLoad=gwtOnLoad;$stats && $stats({moduleName:'jsme',sessionId:$sessionId,subSystem:'startup',evtGroup:'moduleStartup',millis:(new Date()).getTime(),type:'moduleEvalEnd'});if ($wnd.jsme) $wnd.jsme.onScriptLoad();
--></script></body></html>